Index: cc/single_thread_proxy.cc |
diff --git a/cc/single_thread_proxy.cc b/cc/single_thread_proxy.cc |
index e9ac8e79f92d44d744be6fe5bf9e20e12927982a..cf8d3ae71067ca2ac952093e42af6661ec311124 100644 |
--- a/cc/single_thread_proxy.cc |
+++ b/cc/single_thread_proxy.cc |
@@ -305,6 +305,14 @@ void CCSingleThreadProxy::forceSerializeOnSwapBuffers() |
} |
} |
+void CCSingleThreadProxy::setShowFPSCounter(bool show) |
+{ |
+ TRACE_EVENT0("cc", "CCSingleThreadProxy::setShowFPSCounter"); |
+ ASSERT(CCProxy::isMainThread()); |
+ DebugScopedSetImplThread impl; |
+ m_layerTreeHostImpl->setShowFPSCounter(show); |
+} |
+ |
void CCSingleThreadProxy::onSwapBuffersCompleteOnImplThread() |
{ |
ASSERT_NOT_REACHED(); |