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

Unified Diff: Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on top of DOMWindow moves and UseCounter overload for Frame Created 6 years, 1 month 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: Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp b/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
index 84c513f0d92c2c3b397ce764fff1d1139cefb0e7..1ab8fc3f409f9de36433126c96b2751a5b1052b1 100644
--- a/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
@@ -158,8 +158,8 @@ void V8InspectorFrontendHost::showContextMenuAtPointMethodCustom(const v8::Funct
v8::Handle<v8::Object> windowWrapper = V8Window::findInstanceInPrototypeChain(isolate->GetEnteredContext()->Global(), isolate);
if (windowWrapper.IsEmpty())
return;
- LocalDOMWindow* window = V8Window::toImpl(windowWrapper);
- document = window ? window->document() : nullptr;
+ DOMWindow* window = V8Window::toImpl(windowWrapper);
+ document = window ? toLocalDOMWindow(window)->document() : nullptr;
}
if (!document || !document->page())
return;

Powered by Google App Engine
This is Rietveld 408576698