Index: cc/layer_tree_host_impl_unittest.cc |
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc |
index b6a3195d3461f6fc7e8b452ec305f86427e2c22b..00c3a1fb2e6a94b86c12c9bc81127a4dcdf1e404 100644 |
--- a/cc/layer_tree_host_impl_unittest.cc |
+++ b/cc/layer_tree_host_impl_unittest.cc |
@@ -67,6 +67,8 @@ public: |
, m_hasPendingTree(false) |
, m_didRequestCommit(false) |
, m_didRequestRedraw(false) |
+ , m_didSwapUseIncompleteTexture(false) |
+ , m_didUploadVisibleHighResolutionTile(false) |
, m_reduceMemoryResult(true) |
{ |
media::InitializeMediaLibraryForTesting(); |
@@ -93,6 +95,8 @@ public: |
virtual void onCanDrawStateChanged(bool canDraw) OVERRIDE { m_onCanDrawStateChangedCalled = true; } |
virtual void onHasPendingTreeStateChanged(bool hasPendingTree) OVERRIDE { m_hasPendingTree = hasPendingTree; } |
virtual void setNeedsRedrawOnImplThread() OVERRIDE { m_didRequestRedraw = true; } |
+ virtual void didSwapUseIncompleteTextureOnImplThread() OVERRIDE { m_didSwapUseIncompleteTexture = true; } |
+ virtual void didUploadVisibleHighResolutionTileOnImplTread() OVERRIDE { m_didUploadVisibleHighResolutionTile = true; } |
virtual void setNeedsCommitOnImplThread() OVERRIDE { m_didRequestCommit = true; } |
virtual void setNeedsManageTilesOnImplThread() OVERRIDE { } |
virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) OVERRIDE { } |
@@ -223,6 +227,8 @@ protected: |
bool m_hasPendingTree; |
bool m_didRequestCommit; |
bool m_didRequestRedraw; |
+ bool m_didSwapUseIncompleteTexture; |
+ bool m_didUploadVisibleHighResolutionTile; |
bool m_reduceMemoryResult; |
}; |