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

Unified Diff: Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 1025543002: Remove old pinch-zoom paths from Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 9 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/core/frame/Settings.in ('k') | Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorLayerTreeAgent.cpp
diff --git a/Source/core/inspector/InspectorLayerTreeAgent.cpp b/Source/core/inspector/InspectorLayerTreeAgent.cpp
index e4971e901d06de5e24d2a794d342fa28a181ec6f..849e04376f2c0666b616adbf13f5cb2ad7ed95a3 100644
--- a/Source/core/inspector/InspectorLayerTreeAgent.cpp
+++ b/Source/core/inspector/InspectorLayerTreeAgent.cpp
@@ -263,10 +263,7 @@ DeprecatedPaintLayerCompositor* InspectorLayerTreeAgent::deprecatedPaintLayerCom
GraphicsLayer* InspectorLayerTreeAgent::rootGraphicsLayer()
{
- if (m_pageAgent->frameHost()->settings().pinchVirtualViewportEnabled())
- return m_pageAgent->frameHost()->pinchViewport().rootGraphicsLayer();
-
- return deprecatedPaintLayerCompositor()->rootGraphicsLayer();
+ return m_pageAgent->frameHost()->pinchViewport().rootGraphicsLayer();
}
static GraphicsLayer* findLayerById(GraphicsLayer* root, int layerId)
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698