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

Unified Diff: third_party/WebKit/Source/web/tests/PrerenderingTest.cpp

Issue 2165573003: Simplify tests by using Web*Impl types directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/tests/PrerenderingTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp b/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
index ca5ca22495484dbfdb13c389c01763fe6c9eb1a7..98c2d40cabc45d1ed47ea822d44827caa5210e96 100644
--- a/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
+++ b/third_party/WebKit/Source/web/tests/PrerenderingTest.cpp
@@ -199,7 +199,7 @@ public:
Element& console()
{
- Document* document = m_webViewHelper.webViewImpl()->mainFrameImpl()->frame()->document();
+ Document* document = m_webViewHelper.webView()->mainFrameImpl()->frame()->document();
Element* console = document->getElementById("console");
DCHECK(isHTMLUListElement(console));
return *console;

Powered by Google App Engine
This is Rietveld 408576698