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

Unified Diff: Source/web/WebFrameWidgetImpl.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.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameWidgetImpl.cpp
diff --git a/Source/web/WebFrameWidgetImpl.cpp b/Source/web/WebFrameWidgetImpl.cpp
index 5a67a457f292d0af8f05e0c1ae4cdd0fe90e2dd0..5622a774a770f879b0f5c303aee189c5da262ce7 100644
--- a/Source/web/WebFrameWidgetImpl.cpp
+++ b/Source/web/WebFrameWidgetImpl.cpp
@@ -944,6 +944,9 @@ void WebFrameWidgetImpl::initializeLayerTreeView()
m_layerTreeView = m_client->layerTreeView();
}
+ if (WebDevToolsAgentImpl* devTools = m_localRoot->devToolsAgentImpl())
+ devTools->layerTreeViewChanged(m_layerTreeView);
+
m_page->settings().setAcceleratedCompositingEnabled(m_layerTreeView);
// FIXME: only unittests, click to play, Android priting, and printing (for headers and footers)
« no previous file with comments | « Source/web/WebFrameWidgetImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698