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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptEventListener.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
index 28053099b0518eb74396882749bac50cb4de0c4e..6826b6c0896655f00eaa4be1a8d2436a5fb077ef 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
@@ -165,8 +165,8 @@ void ScheduledAction::Execute(LocalFrame* frame) {
} else {
DVLOG(1) << "ScheduledAction::execute " << this
<< ": executing from source";
- frame->Script().ExecuteScriptAndReturnValue(script_state_->GetContext(),
- ScriptSourceCode(code_));
+ frame->GetScriptController().ExecuteScriptAndReturnValue(
+ script_state_->GetContext(), ScriptSourceCode(code_));
}
// The frame might be invalid at this point because JavaScript could have
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698