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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.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/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
index 5c16974726b77e2e2ae86978cb1a78d8fd05c77c..9d908e390a67e9c38f0262ef46c53bf19cb32f61 100644
--- a/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/serialization/V8ScriptValueSerializerTest.cpp
@@ -96,8 +96,9 @@ v8::Local<v8::Value> RoundTrip(
}
v8::Local<v8::Value> Eval(const String& source, V8TestingScope& scope) {
- return scope.GetFrame().Script().ExecuteScriptInMainWorldAndReturnValue(
- source);
+ return scope.GetFrame()
+ .GetScriptController()
+ .ExecuteScriptInMainWorldAndReturnValue(source);
}
String ToJSON(v8::Local<v8::Object> object, const V8TestingScope& scope) {
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptEventListener.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698