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

Unified Diff: extensions/renderer/v8_schema_registry.cc

Issue 498513002: Respect the clipboardRead and clipboardWrite permissions in content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address more comments Created 6 years, 3 months 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/script_context_set_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/v8_schema_registry.cc
diff --git a/extensions/renderer/v8_schema_registry.cc b/extensions/renderer/v8_schema_registry.cc
index 33163138cc335ac2a74e4ab1abb96aa592764241..d2d5e0e90207e2b7fb58eb52b41b55fc94f6dc27 100644
--- a/extensions/renderer/v8_schema_registry.cc
+++ b/extensions/renderer/v8_schema_registry.cc
@@ -52,6 +52,8 @@ scoped_ptr<NativeHandler> V8SchemaRegistry::AsNativeHandler() {
new ScriptContext(GetOrCreateContext(v8::Isolate::GetCurrent()),
NULL, // no frame
NULL, // no extension
+ Feature::UNSPECIFIED_CONTEXT,
+ NULL, // no effective extension
Feature::UNSPECIFIED_CONTEXT));
return scoped_ptr<NativeHandler>(
new SchemaRegistryNativeHandler(this, context.Pass()));
« no previous file with comments | « extensions/renderer/script_context_set_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698