Index: cc/test/layer_tree_test_common.cc |
diff --git a/cc/test/layer_tree_test_common.cc b/cc/test/layer_tree_test_common.cc |
index def18204dfb882b7056ca88a4fa3701a0de3a3d7..f24c6b0809a0ea3755988c72f159386f1091e153 100644 |
--- a/cc/test/layer_tree_test_common.cc |
+++ b/cc/test/layer_tree_test_common.cc |
@@ -98,6 +98,13 @@ void MockLayerTreeHostImpl::DrawLayers(FrameData* frame) |
m_testHooks->drawLayersOnThread(this); |
} |
+bool MockLayerTreeHostImpl::SwapBuffers() |
+{ |
+ bool result = LayerTreeHostImpl::SwapBuffers(); |
+ m_testHooks->swapBuffersOnThread(this, result); |
+ return result; |
+} |
+ |
bool MockLayerTreeHostImpl::ActivatePendingTreeIfNeeded() |
{ |
if (!pending_tree()) |