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

Unified Diff: Source/web/tests/WebInputEventConversionTest.cpp

Issue 27183013: Use [ImplementedAs=domWindow] for Document.defaultView() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebInputEventConversionTest.cpp
diff --git a/Source/web/tests/WebInputEventConversionTest.cpp b/Source/web/tests/WebInputEventConversionTest.cpp
index f996595f90e4190f163fa2203b75273a7912dcf8..ed4e99dae5138e186b4ec0504ec09e80c869be4a 100644
--- a/Source/web/tests/WebInputEventConversionTest.cpp
+++ b/Source/web/tests/WebInputEventConversionTest.cpp
@@ -109,7 +109,7 @@ TEST(WebInputEventConversionTest, InputEventsScaling)
FrameView* view = webViewImpl->page()->mainFrame()->view();
RefPtr<Document> document = webViewImpl->page()->mainFrame()->document();
- DOMWindow* domWindow = webViewImpl->page()->mainFrame()->document()->defaultView();
+ DOMWindow* domWindow = webViewImpl->page()->mainFrame()->document()->domWindow();
RenderObject* docRenderer = webViewImpl->page()->mainFrame()->document()->renderer();
{
« no previous file with comments | « Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698