Index: cc/test/layer_tree_test_common.h |
diff --git a/cc/test/layer_tree_test_common.h b/cc/test/layer_tree_test_common.h |
index ac9534e3d1eaa0397e58f7bf0aebc83a1e556f6f..28991b3db32b5c659c2d3f4d668b7d2a7f903ba2 100644 |
--- a/cc/test/layer_tree_test_common.h |
+++ b/cc/test/layer_tree_test_common.h |
@@ -37,6 +37,7 @@ public: |
virtual bool prepareToDrawOnThread( |
LayerTreeHostImpl*, LayerTreeHostImpl::FrameData*, bool result); |
virtual void drawLayersOnThread(LayerTreeHostImpl*) { } |
+ virtual void swapBuffersOnThread(LayerTreeHostImpl* host_impl, bool result) { } |
virtual void animateLayers(LayerTreeHostImpl*, base::TimeTicks monotonicTime) { } |
virtual void updateAnimationState(LayerTreeHostImpl*, bool hasUnfinishedAnimation) { } |
virtual void willAnimateLayers(LayerTreeHostImpl*, base::TimeTicks monotonicTime) { } |
@@ -167,6 +168,7 @@ public: |
virtual void CommitComplete() OVERRIDE; |
virtual bool PrepareToDraw(FrameData* frame) OVERRIDE; |
virtual void DrawLayers(FrameData* frame) OVERRIDE; |
+ virtual bool SwapBuffers() OVERRIDE; |
virtual bool ActivatePendingTreeIfNeeded() OVERRIDE; |
virtual bool InitializeRenderer(scoped_ptr<OutputSurface> outputSurface) OVERRIDE; |
virtual void SetVisible(bool visible) OVERRIDE; |