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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimerTest.cpp

Issue 2811793005: Rename LocalFrame::Script() to GetScriptController() (Closed)
Patch Set: 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/frame/DOMTimerTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp b/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp
index aa9d2e0fb4dd077e1304ae88115b34c269a1ea21..463c2b0774efc9badc4fe956fb542d74501fb632 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp
@@ -50,7 +50,7 @@ class DOMTimerTest : public RenderingTest {
v8::Local<v8::Value> EvalExpression(const char* expr) {
return GetDocument()
.GetFrame()
- ->Script()
+ ->GetScriptController()
.ExecuteScriptInMainWorldAndReturnValue(ScriptSourceCode(expr));
}
@@ -63,7 +63,8 @@ class DOMTimerTest : public RenderingTest {
void ExecuteScriptAndWaitUntilIdle(const char* script_text) {
ScriptSourceCode script(script_text);
- GetDocument().GetFrame()->Script().ExecuteScriptInMainWorld(script);
+ GetDocument().GetFrame()->GetScriptController().ExecuteScriptInMainWorld(
+ script);
platform_->RunUntilIdle();
}
};
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTargetTest.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698