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

Unified Diff: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.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/ScrollingCoordinatorTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
index b8b89dffd13a161638cd7a5807fd8211173d19c3..fd4e18cb8df81ea9e09fa8935d8c69b560456486 100644
--- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
@@ -98,8 +98,8 @@ public:
return webScrollLayer;
}
- WebViewImpl* webViewImpl() const { return m_helper.webViewImpl(); }
- LocalFrame* frame() const { return m_helper.webViewImpl()->mainFrameImpl()->frame(); }
+ WebViewImpl* webViewImpl() const { return m_helper.webView(); }
+ LocalFrame* frame() const { return m_helper.webView()->mainFrameImpl()->frame(); }
WebLayerTreeView* webLayerTreeView() const { return webViewImpl()->layerTreeView(); }

Powered by Google App Engine
This is Rietveld 408576698