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

Unified Diff: third_party/WebKit/Source/core/loader/ImageLoader.cpp

Issue 2796653003: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 8 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: third_party/WebKit/Source/core/loader/ImageLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
index e8ae4504733451c83cb94b70a27cc76fb6455d83..6310e9678bdbacb54a874c3c62590510445ad5b2 100644
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
@@ -112,7 +112,7 @@ class ImageLoader::Task {
m_scriptState = ScriptState::current(isolate);
} else {
m_scriptState =
- ScriptState::forMainWorld(loader->element()->document().frame());
+ toScriptStateForMainWorld(loader->element()->document().frame());
DCHECK(m_scriptState);
}
m_requestURL =

Powered by Google App Engine
This is Rietveld 408576698