| Index: chrome/renderer/extensions/page_actions_custom_bindings.cc
|
| diff --git a/chrome/renderer/extensions/page_actions_custom_bindings.cc b/chrome/renderer/extensions/page_actions_custom_bindings.cc
|
| index 5f1735e44a084ed588b01a55ff3df82a516a0f33..ab3cede528a863b212e6e6354623566a843d62d4 100644
|
| --- a/chrome/renderer/extensions/page_actions_custom_bindings.cc
|
| +++ b/chrome/renderer/extensions/page_actions_custom_bindings.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "chrome/common/extensions/api/extension_action/action_info.h"
|
| #include "chrome/renderer/extensions/dispatcher.h"
|
| #include "grit/renderer_resources.h"
|
| #include "v8/include/v8.h"
|
| @@ -30,8 +31,8 @@ v8::Handle<v8::Value> PageActionsCustomBindings::GetCurrentPageActions(
|
| CHECK(extension);
|
|
|
| v8::Local<v8::Array> page_action_vector = v8::Array::New();
|
| - if (extension->page_action_info()) {
|
| - std::string id = extension->page_action_info()->id;
|
| + if (ActionInfo::GetPageActionInfo(extension)) {
|
| + std::string id = ActionInfo::GetPageActionInfo(extension)->id;
|
| page_action_vector->Set(v8::Integer::New(0),
|
| v8::String::New(id.c_str(), id.size()));
|
| }
|
|
|