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

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

Issue 2479663002: Move compositor InputHandler from RenderViewImpl to RenderWidget. (Closed)
Patch Set: Check for layerTreeView while setting handlers. Created 3 years, 11 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/FrameTestHelpers.cpp
diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
index a6ea70041adad867ada53855c7bfee332fde4da3..5bcaec2cd11272ed23b2c037b130933cd869c5cf 100644
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
@@ -330,6 +330,11 @@ WebLayerTreeView* TestWebViewWidgetClient::initializeLayerTreeView() {
return m_testWebViewClient->initializeLayerTreeView();
}
+WebLayerTreeView* TestWebWidgetClient::initializeLayerTreeView() {
+ m_layerTreeView = WTF::wrapUnique(new WebLayerTreeViewImplForTesting);
dcheng 2017/01/16 11:05:41 Prefer WTF::makeUnique now that we have that.
wjmaclean 2017/01/17 18:23:28 Done.
+ return m_layerTreeView.get();
+}
+
void TestWebViewWidgetClient::scheduleAnimation() {
m_testWebViewClient->scheduleAnimation();
}

Powered by Google App Engine
This is Rietveld 408576698