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); |