| Index: chrome/renderer/extensions/extension_dispatcher.cc
|
| ===================================================================
|
| --- chrome/renderer/extensions/extension_dispatcher.cc (revision 130700)
|
| +++ chrome/renderer/extensions/extension_dispatcher.cc (working copy)
|
| @@ -576,7 +576,7 @@
|
| // correct APIs, however, until it doesn't have a 2MB overhead we can't
|
| // load it in every process.
|
| scoped_ptr<std::set<std::string> > apis =
|
| - ExtensionAPI::GetSharedInstance()->GetAPIsForContext(
|
| + ExtensionAPI::GetInstance()->GetAPIsForContext(
|
| context_type, extension, url_info.url());
|
| for (std::set<std::string>::iterator i = apis->begin(); i != apis->end();
|
| ++i) {
|
| @@ -834,7 +834,7 @@
|
| }
|
|
|
| if (!IsExtensionActive(extension->id()) &&
|
| - ExtensionAPI::GetSharedInstance()->IsPrivileged(function_name)) {
|
| + ExtensionAPI::GetInstance()->IsPrivileged(function_name)) {
|
| static const char kMessage[] =
|
| "%s can only be used in an extension process.";
|
| std::string error_msg = base::StringPrintf(kMessage, function_name.c_str());
|
|
|