Index: cc/test/layer_tree_pixel_test.cc |
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc |
index a08211b0804ae9523be53d6e79c065c26b64b5fb..b4fafd25ead79c118525cae46827247fb15bfc40 100644 |
--- a/cc/test/layer_tree_pixel_test.cc |
+++ b/cc/test/layer_tree_pixel_test.cc |
@@ -228,8 +228,8 @@ scoped_ptr<SkBitmap> LayerTreePixelTest::CopyTextureMailboxToBitmap( |
scoped_ptr<gpu::GLInProcessContext> context = CreateTestInProcessContext(); |
GLES2Interface* gl = context->GetImplementation(); |
- if (texture_mailbox.sync_point()) |
- gl->WaitSyncPointCHROMIUM(texture_mailbox.sync_point()); |
+ if (texture_mailbox.sync_token().HasData()) |
+ gl->WaitSyncTokenCHROMIUM(texture_mailbox.sync_token().GetConstData()); |
GLuint texture_id = 0; |
gl->GenTextures(1, &texture_id); |