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

Unified Diff: webkit/compositor_bindings/WebLayerTreeViewImpl.cpp

Issue 11189037: toggle FPS counter in compositor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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: webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
diff --git a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
index f621a864a6eaeba69ae0c5454a520c03683eff9c..9e77a9b3fa4b02a5ffd1234e307f8c10f3a32c86 100644
--- a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
+++ b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
@@ -195,6 +195,11 @@ void WebLayerTreeViewImpl::loseCompositorContext(int numTimes)
m_layerTreeHost->loseContext(numTimes);
}
+void WebLayerTreeViewImpl::setShowFPSCounter(bool show)
+{
+ m_layerTreeHost->setShowFPSCounter(show);
+}
+
void WebLayerTreeViewImpl::willBeginFrame()
{
m_client->willBeginFrame();

Powered by Google App Engine
This is Rietveld 408576698