Index: cc/layers/surface_layer_unittest.cc |
diff --git a/cc/layers/surface_layer_unittest.cc b/cc/layers/surface_layer_unittest.cc |
index f6e1eb6c32fb6b70606d87b9032e9106dc12d942..285acee2e122287d9a3c0d7b9d2ad6ca6b626587 100644 |
--- a/cc/layers/surface_layer_unittest.cc |
+++ b/cc/layers/surface_layer_unittest.cc |
@@ -172,7 +172,7 @@ class SurfaceLayerSwapPromise : public LayerTreeTest { |
PostSetNeedsCommitToMainThread(); |
} |
- void DidCommit() override { |
+ void DidCommitAndDrawFrame() override { |
base::MessageLoopProxy::current()->PostTask( |
FROM_HERE, base::Bind(&SurfaceLayerSwapPromise::ChangeTree, |
base::Unretained(this))); |