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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/CacheTest.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/modules/cachestorage/CacheTest.cpp
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
index e7c44416191d993ea1720e04ec66c5e14cd79713..00d5ec508f6bfc8ae46a2fb63f68b545024fa56c 100644
--- a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
@@ -240,7 +240,7 @@ class CacheStorageTest : public ::testing::Test {
}
ScriptState* getScriptState() {
- return ScriptState::forMainWorld(m_page->document().frame());
+ return toScriptStateForMainWorld(m_page->document().frame());
}
ExecutionContext* getExecutionContext() {
return getScriptState()->getExecutionContext();

Powered by Google App Engine
This is Rietveld 408576698