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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_action.h

Issue 2227193002: Make UserScript non-copyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @tott Created 4 years, 4 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/browser/extensions/api/declarative_content/content_action.h
diff --git a/chrome/browser/extensions/api/declarative_content/content_action.h b/chrome/browser/extensions/api/declarative_content/content_action.h
index cfd6925e1009036369181342bffc0bb467c1812e..6b5d0dd3b0ec647b012d2870598fa30426b0d702 100644
--- a/chrome/browser/extensions/api/declarative_content/content_action.h
+++ b/chrome/browser/extensions/api/declarative_content/content_action.h
@@ -104,10 +104,7 @@ class RequestContentScript : public ContentAction {
const Extension* extension,
const ScriptData& script_data);
- void AddScript() {
- DCHECK(master_);
- master_->AddScript(script_);
- }
+ void AddScript();
void InstructRenderProcessToInject(content::WebContents* contents,
const Extension* extension) const;

Powered by Google App Engine
This is Rietveld 408576698