gpu: Add Serialize function to ContextCreationAttribParser.

Rename ContextCreationAttribParser to ContextCreationAttribHelper
and add Serialize function.

TEST=gl_tests
BUG=

Review URL: https://chromiumcodereview.appspot.com/23244002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217898 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 44a0134..77a6b8a 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -2207,7 +2207,7 @@
   glActiveTexture(GL_TEXTURE0);
   CHECK_GL_ERROR();
 
-  ContextCreationAttribParser attrib_parser;
+  ContextCreationAttribHelper attrib_parser;
   if (!attrib_parser.Parse(attribs))
     return false;