Index: Source/WebCore/platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp (revision 122257) |
+++ Source/WebCore/platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp (working copy) |
@@ -26,6 +26,8 @@ |
#include "cc/CCSchedulerStateMachine.h" |
+#include <stdio.h> |
+ |
namespace WebCore { |
CCSchedulerStateMachine::CCSchedulerStateMachine() |
@@ -281,6 +283,12 @@ |
m_commitState = COMMIT_STATE_UPDATING_RESOURCES; |
} |
+void CCSchedulerStateMachine::beginFrameAborted() |
+{ |
+ ASSERT(m_commitState == COMMIT_STATE_FRAME_IN_PROGRESS); |
+ m_commitState = COMMIT_STATE_IDLE; |
+} |
+ |
void CCSchedulerStateMachine::beginUpdateMoreResourcesComplete(bool morePending) |
{ |
ASSERT(m_commitState == COMMIT_STATE_UPDATING_RESOURCES); |