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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 1102933002: [DevTools] Use WebLayerTreeView::layerTreeId() for instrumentation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/web/WebFrameWidgetImpl.cpp ('k') | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 0ed038eb8fa1febc7dfa5d9417dd29ec62f02e80..ef0f2aa4a0cbcd6865f8b6a67fe0985f43192765 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -4251,6 +4251,9 @@ void WebViewImpl::initializeLayerTreeView()
m_layerTreeView = m_client->layerTreeView();
}
+ if (WebDevToolsAgentImpl* devTools = mainFrameDevToolsAgentImpl())
+ devTools->layerTreeViewChanged(m_layerTreeView);
+
m_page->settings().setAcceleratedCompositingEnabled(m_layerTreeView != 0);
// FIXME: only unittests, click to play, Android priting, and printing (for headers and footers)
« no previous file with comments | « Source/web/WebFrameWidgetImpl.cpp ('k') | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698