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

Unified Diff: third_party/WebKit/Source/web/SuspendableScriptExecutor.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/web/SuspendableScriptExecutor.cpp
diff --git a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
index 4a8b4dfc896cacc7385b435d293dedc836c52ba2..9bd1c9e5313e69d6d35f7451c4802d56f421acb9 100644
--- a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
+++ b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
@@ -59,10 +59,11 @@ Vector<v8::Local<v8::Value>> WebScriptExecutor::Execute(LocalFrame* frame) {
Vector<v8::Local<v8::Value>> results;
if (world_id_) {
- frame->Script().ExecuteScriptInIsolatedWorld(world_id_, sources_, &results);
+ frame->GetScriptController().ExecuteScriptInIsolatedWorld(
+ world_id_, sources_, &results);
} else {
v8::Local<v8::Value> script_value =
- frame->Script().ExecuteScriptInMainWorldAndReturnValue(
+ frame->GetScriptController().ExecuteScriptInMainWorldAndReturnValue(
sources_.front());
results.push_back(script_value);
}
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.cpp ('k') | third_party/WebKit/Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698