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..a9b353ad37c1117d38d65938016bbf0c7643bbdf 100644 |
--- a/cc/layer_tree_host_impl_unittest.cc |
+++ b/cc/layer_tree_host_impl_unittest.cc |
@@ -67,6 +67,7 @@ public: |
, m_hasPendingTree(false) |
, m_didRequestCommit(false) |
, m_didRequestRedraw(false) |
+ , m_didRequestRedrawOnVisibleTextureUpload(false) |
, m_reduceMemoryResult(true) |
{ |
media::InitializeMediaLibraryForTesting(); |
@@ -93,6 +94,7 @@ 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 setNeedsRedrawOnVisibleTextureUploadOnImplThread() OVERRIDE { m_didRequestRedrawOnVisibleTextureUpload = true; } |
virtual void setNeedsCommitOnImplThread() OVERRIDE { m_didRequestCommit = true; } |
virtual void setNeedsManageTilesOnImplThread() OVERRIDE { } |
virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) OVERRIDE { } |
@@ -223,6 +225,7 @@ protected: |
bool m_hasPendingTree; |
bool m_didRequestCommit; |
bool m_didRequestRedraw; |
+ bool m_didRequestRedrawOnVisibleTextureUpload; |
bool m_reduceMemoryResult; |
}; |