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

Unified Diff: Source/WebCore/platform/graphics/chromium/cc/CCScheduler.cpp

Issue 10202004: Merge 114599 - [chromium] Add canBeginFrame state to CCSchedulerStateMachine to suppress initializa… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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: Source/WebCore/platform/graphics/chromium/cc/CCScheduler.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/cc/CCScheduler.cpp (revision 114975)
+++ Source/WebCore/platform/graphics/chromium/cc/CCScheduler.cpp (working copy)
@@ -44,6 +44,12 @@
m_frameRateController->setActive(false);
}
+void CCScheduler::setCanBeginFrame(bool can)
+{
+ m_stateMachine.setCanBeginFrame(can);
+ processScheduledActions();
+}
+
void CCScheduler::setVisible(bool visible)
{
m_stateMachine.setVisible(visible);

Powered by Google App Engine
This is Rietveld 408576698