Index: cc/thread_proxy.cc |
=================================================================== |
--- cc/thread_proxy.cc (revision 189183) |
+++ cc/thread_proxy.cc (working copy) |
@@ -1027,9 +1027,7 @@ |
m_schedulerOnImplThread->setSwapBuffersCompleteSupported( |
capabilities->usingSwapCompleteCallback); |
- int maxFramesPending = m_layerTreeHostImpl->outputSurface()->Capabilities().max_frames_pending; |
- if (maxFramesPending <= 0) |
- maxFramesPending = FrameRateController::kDefaultMaxFramesPending; |
+ int maxFramesPending = FrameRateController::kDefaultMaxFramesPending; |
if (m_layerTreeHostImpl->outputSurface()->Capabilities().has_parent_compositor) |
maxFramesPending = 1; |
m_schedulerOnImplThread->setMaxFramesPending(maxFramesPending); |