Index: chrome/browser/extensions/extension_page_actions_module.cc |
diff --git a/chrome/browser/extensions/extension_page_actions_module.cc b/chrome/browser/extensions/extension_page_actions_module.cc |
index 1e97ad71021bc2e6c1ee613b09706702cbaf3eab..d154d767cde5675d38179864a6226e0e7159cdf3 100644 |
--- a/chrome/browser/extensions/extension_page_actions_module.cc |
+++ b/chrome/browser/extensions/extension_page_actions_module.cc |
@@ -161,7 +161,7 @@ bool PageActionSetIconFunction::RunImpl() { |
int icon_index; |
if (args->GetBinary("imageData", &binary)) { |
IPC::Message bitmap_pickle(binary->GetBuffer(), binary->GetSize()); |
- void* iter = NULL; |
+ PickleIterator iter(bitmap_pickle); |
scoped_ptr<SkBitmap> bitmap(new SkBitmap); |
EXTENSION_FUNCTION_VALIDATE( |
IPC::ReadParam(&bitmap_pickle, &iter, bitmap.get())); |