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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 2323123002: Make disable vsync run the renderer independently (Closed)
Patch Set: With additional comment Created 4 years, 3 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: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 1c21e9e2042350c21e11aaddaf839d92d36bb2eb..9a4bab465d531fb8313d4ebc4b07d146c61a8153 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -154,6 +154,7 @@ class ExternalBeginFrameSource : public cc::BeginFrameSource,
void RemoveObserver(cc::BeginFrameObserver* obs) override;
void DidFinishFrame(cc::BeginFrameObserver* obs,
size_t remaining_frames) override {}
+ bool IsThrottled() const override { return true; }
// CompositorImpl::VSyncObserver implementation.
void OnVSync(base::TimeTicks frame_time,

Powered by Google App Engine
This is Rietveld 408576698