Index: chrome/browser/extensions/extension_action.cc |
diff --git a/chrome/browser/extensions/extension_action.cc b/chrome/browser/extensions/extension_action.cc |
index 00345b4c7622513825faa4b09d6850cbe214e659..49b8146c4db3632d64121661e524bfc0ee185e9a 100644 |
--- a/chrome/browser/extensions/extension_action.cc |
+++ b/chrome/browser/extensions/extension_action.cc |
@@ -130,7 +130,8 @@ bool ExtensionAction::ParseIconFromCanvasDictionary( |
std::string binary_string64; |
IPC::Message pickle; |
if (iter.value().GetAsBinary(&image_data)) { |
- pickle = IPC::Message(image_data->GetBuffer(), image_data->GetSize()); |
+ pickle = IPC::Message(image_data->GetBlob().data(), |
+ image_data->GetBlob().size()); |
} else if (iter.value().GetAsString(&binary_string64)) { |
std::string binary_string; |
if (!base::Base64Decode(binary_string64, &binary_string)) |