Index: cc/CCLayerTreeHostImpl.h |
diff --git a/cc/CCLayerTreeHostImpl.h b/cc/CCLayerTreeHostImpl.h |
index 44a3cae27c0f3c15c40cf57f946e093ee38ba976..4061d11fd162b4757b9135fa831ca311ac7ded9d 100644 |
--- a/cc/CCLayerTreeHostImpl.h |
+++ b/cc/CCLayerTreeHostImpl.h |
@@ -37,6 +37,7 @@ public: |
virtual void didLoseContextOnImplThread() = 0; |
virtual void onSwapBuffersCompleteOnImplThread() = 0; |
virtual void onVSyncParametersChanged(double monotonicTimebase, double intervalInSeconds) = 0; |
+ virtual void onCanDrawStateChanged(bool canDraw) = 0; |
virtual void setNeedsRedrawOnImplThread() = 0; |
virtual void setNeedsCommitOnImplThread() = 0; |
virtual void postAnimationEventsToMainThreadOnImplThread(PassOwnPtr<CCAnimationEventsVector>, double wallClockTime) = 0; |
@@ -140,7 +141,7 @@ public: |
void setSourceFrameNumber(int frameNumber) { m_sourceFrameNumber = frameNumber; } |
bool contentsTexturesPurged() const { return m_contentsTexturesPurged; } |
- void resetContentsTexturesPurged() { m_contentsTexturesPurged = false; } |
+ void resetContentsTexturesPurged(); |
size_t memoryAllocationLimitBytes() const { return m_memoryAllocationLimitBytes; } |
void setViewportSize(const IntSize& layoutViewportSize, const IntSize& deviceViewportSize); |