Index: webkit/glue/glue_serialize.cc |
diff --git a/webkit/glue/glue_serialize.cc b/webkit/glue/glue_serialize.cc |
index 04a4ac45749a1e408ab38ad08f2b5f31df960b77..606ff61e955b44f609f7d92cb1ae822419c98402 100644 |
--- a/webkit/glue/glue_serialize.cc |
+++ b/webkit/glue/glue_serialize.cc |
@@ -32,16 +32,16 @@ namespace webkit_glue { |
namespace { |
struct SerializeObject { |
- SerializeObject() : iter(NULL), version(0) {} |
+ SerializeObject() : version(0) {} |
SerializeObject(const char* data, int len) |
- : pickle(data, len), iter(NULL), version(0) {} |
+ : pickle(data, len), version(0) { iter = PickleIterator(pickle); } |
std::string GetAsString() { |
return std::string(static_cast<const char*>(pickle.data()), pickle.size()); |
} |
Pickle pickle; |
- mutable void* iter; |
+ mutable PickleIterator iter; |
mutable int version; |
}; |