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

Unified Diff: extensions/renderer/script_context_set.cc

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 years, 6 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: extensions/renderer/script_context_set.cc
diff --git a/extensions/renderer/script_context_set.cc b/extensions/renderer/script_context_set.cc
index 2b0875d9ced095ca2e797faa6dfb7e18212caa1b..226bc1188e634db7a87181c13cdc5b91991037c2 100644
--- a/extensions/renderer/script_context_set.cc
+++ b/extensions/renderer/script_context_set.cc
@@ -131,7 +131,7 @@ void ScriptContextSet::AddForTesting(std::unique_ptr<ScriptContext> context) {
}
const Extension* ScriptContextSet::GetExtensionFromFrameAndWorld(
- const blink::WebLocalFrame* frame,
+ blink::WebLocalFrame* frame,
int world_id,
bool use_effective_url) {
std::string extension_id;
« no previous file with comments | « extensions/renderer/script_context_set.h ('k') | third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698