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

Unified Diff: chrome/renderer/extensions/chrome_v8_context.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
Index: chrome/renderer/extensions/chrome_v8_context.cc
diff --git a/chrome/renderer/extensions/chrome_v8_context.cc b/chrome/renderer/extensions/chrome_v8_context.cc
index 40764e492f006455e8e43c76bf411f6c0b7cdd63..a89316152ab740b2e4a4c9c4c97bc25f3e42cbcb 100644
--- a/chrome/renderer/extensions/chrome_v8_context.cc
+++ b/chrome/renderer/extensions/chrome_v8_context.cc
@@ -9,8 +9,15 @@ namespace extensions {
ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context,
blink::WebFrame* web_frame,
const Extension* extension,
- Feature::Context context_type)
- : ScriptContext(v8_context, web_frame, extension, context_type) {
+ Feature::Context context_type,
+ const Extension* effective_extension,
+ Feature::Context effective_context_type)
+ : ScriptContext(v8_context,
+ web_frame,
+ extension,
+ context_type,
+ effective_extension,
+ effective_context_type) {
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698