| Index: cc/single_thread_proxy.h
|
| diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h
|
| index b4e1ad9d567750f249f85d8904ee7f4ff3ddd1da..155730c00dbfa8c221982544994ffa3ba9a3735f 100644
|
| --- a/cc/single_thread_proxy.h
|
| +++ b/cc/single_thread_proxy.h
|
| @@ -54,11 +54,14 @@ public:
|
| virtual void onCanDrawStateChanged(bool canDraw) OVERRIDE { }
|
| virtual void onHasPendingTreeStateChanged(bool havePendingTree) OVERRIDE;
|
| virtual void setNeedsRedrawOnImplThread() OVERRIDE;
|
| + virtual void didSwapUseIncompleteTextureOnImplThread() OVERRIDE;
|
| + virtual void didUploadVisibleHighResolutionTileOnImplTread() OVERRIDE;
|
| virtual void setNeedsCommitOnImplThread() OVERRIDE;
|
| virtual void setNeedsManageTilesOnImplThread() OVERRIDE;
|
| virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) OVERRIDE;
|
| virtual bool reduceContentsTextureMemoryOnImplThread(size_t limitBytes, int priorityCutoff) OVERRIDE;
|
| virtual void sendManagedMemoryStats() OVERRIDE;
|
| + virtual bool isInsideDraw() OVERRIDE;
|
|
|
| // Called by the legacy path where RenderWidget does the scheduling.
|
| void compositeImmediately();
|
| @@ -86,6 +89,8 @@ private:
|
|
|
| bool m_nextFrameIsNewlyCommittedFrame;
|
|
|
| + bool m_insideDraw;
|
| +
|
| base::TimeDelta m_totalCommitTime;
|
| size_t m_totalCommitCount;
|
| };
|
|
|