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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp

Issue 2723973002: Make V8Binding helpers return LocalFrame/LocalDOMWindow as appropriate (Closed)
Patch Set: Created 3 years, 10 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/ScriptState.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
index 561d28e39cd2632c3f4787009a9ad248ebdb2614..f2644f6071480658273274fba8dafd0bc54cbc87 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp
@@ -78,7 +78,7 @@ void ScriptState::setExecutionContext(ExecutionContext*) {
LocalDOMWindow* ScriptState::domWindow() const {
v8::HandleScope scope(m_isolate);
- return toLocalDOMWindow(toDOMWindow(context()));
+ return toDOMWindow(context());
}
ScriptState* ScriptState::forMainWorld(LocalFrame* frame) {

Powered by Google App Engine
This is Rietveld 408576698