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

Unified Diff: cc/thread_proxy.cc

Issue 12789008: Revert 189176 "Manually merge 188038" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1410/src/
Patch Set: Created 7 years, 9 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 | « cc/output_surface.h ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « cc/output_surface.h ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698