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

Unified Diff: third_party/WebKit/Source/web/tests/TopControlsTest.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/TopControlsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
index 42af87a8b541ac9aac38d108d18d2ca511fb962d..5bfcf267eb728e240f8a0877c0d9f0e9c4193257 100644
--- a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
@@ -129,9 +129,9 @@ public:
}
- WebViewImpl* webViewImpl() const { return m_helper.webViewImpl(); }
- LocalFrame* frame() const { return m_helper.webViewImpl()->mainFrameImpl()->frame(); }
- VisualViewport& visualViewport() const { return m_helper.webViewImpl()->page()->frameHost().visualViewport(); }
+ WebViewImpl* webViewImpl() const { return m_helper.webView(); }
+ LocalFrame* frame() const { return m_helper.webView()->mainFrameImpl()->frame(); }
+ VisualViewport& visualViewport() const { return m_helper.webView()->page()->frameHost().visualViewport(); }
private:
std::string m_baseURL;

Powered by Google App Engine
This is Rietveld 408576698