Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: extensions/renderer/native_extension_bindings_system.cc

Issue 2494653005: Support API aliases (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/js_extension_bindings_system.cc ('k') | extensions/renderer/script_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/native_extension_bindings_system.cc
diff --git a/extensions/renderer/native_extension_bindings_system.cc b/extensions/renderer/native_extension_bindings_system.cc
index 7e56635dfbfc03d70f5b53d37d5994b2b784d616..d0b223463d7c0de70bc84c9b08800eb171f6f6b0 100644
--- a/extensions/renderer/native_extension_bindings_system.cc
+++ b/extensions/renderer/native_extension_bindings_system.cc
@@ -124,7 +124,8 @@ void NativeExtensionBindingsSystem::UpdateBindingsForContext(
continue;
}
- if (!context->IsAnyFeatureAvailableToContext(*map_entry.second))
+ if (!context->IsAnyFeatureAvailableToContext(*map_entry.second,
+ CheckAliasStatus::NOT_ALLOWED))
continue;
// TODO(devlin): Make this lazy by adding a getter.
« no previous file with comments | « extensions/renderer/js_extension_bindings_system.cc ('k') | extensions/renderer/script_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698