Index: chrome/common/extensions/extension_unpacker.cc |
diff --git a/chrome/common/extensions/extension_unpacker.cc b/chrome/common/extensions/extension_unpacker.cc |
index aded6974c07f008ae58819b4808a0569dd0ddf41..a5a19165d426d08537e4e8df5a27bcfb7ddb9f50 100644 |
--- a/chrome/common/extensions/extension_unpacker.cc |
+++ b/chrome/common/extensions/extension_unpacker.cc |
@@ -252,7 +252,7 @@ bool ExtensionUnpacker::ReadImagesFromFile(const FilePath& extension_path, |
return false; |
IPC::Message pickle(file_str.data(), file_str.size()); |
- void* iter = NULL; |
+ PickleIterator iter(pickle); |
return IPC::ReadParam(&pickle, &iter, images); |
} |
@@ -266,7 +266,7 @@ bool ExtensionUnpacker::ReadMessageCatalogsFromFile( |
return false; |
IPC::Message pickle(file_str.data(), file_str.size()); |
- void* iter = NULL; |
+ PickleIterator iter(pickle); |
return IPC::ReadParam(&pickle, &iter, catalogs); |
} |