| Index: chrome/renderer/extensions/dispatcher.cc
|
| diff --git a/chrome/renderer/extensions/dispatcher.cc b/chrome/renderer/extensions/dispatcher.cc
|
| index 831d191e8dd2ce9c66a57caf946f601908497351..5dd35fc9481f84b0d4cfc556c7e374b51fd60d47 100644
|
| --- a/chrome/renderer/extensions/dispatcher.cc
|
| +++ b/chrome/renderer/extensions/dispatcher.cc
|
| @@ -707,7 +707,8 @@ void Dispatcher::AddOrRemoveBindingsForContext(ChromeV8Context* context) {
|
| // the same code regardless of context type.
|
| switch (context->context_type()) {
|
| case Feature::UNSPECIFIED_CONTEXT:
|
| - case Feature::WEB_PAGE_CONTEXT: {
|
| + case Feature::WEB_PAGE_CONTEXT:
|
| + case Feature::BLESSED_WEB_PAGE_CONTEXT: {
|
| // Web page context; it's too expensive to run the full bindings code.
|
| // Hard-code that the app and webstore APIs are available...
|
| RegisterBinding("app", context);
|
| @@ -732,7 +733,6 @@ void Dispatcher::AddOrRemoveBindingsForContext(ChromeV8Context* context) {
|
| }
|
|
|
| case Feature::BLESSED_EXTENSION_CONTEXT:
|
| - case Feature::BLESSED_WEB_PAGE_CONTEXT:
|
| case Feature::UNBLESSED_EXTENSION_CONTEXT:
|
| case Feature::CONTENT_SCRIPT_CONTEXT: {
|
| // Extension context; iterate through all the APIs and bind the available
|
|
|