| 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..0b43d45d1ce14de34b71a13bf8bd2ee36f397d6c 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);
|
| @@ -283,6 +283,13 @@ scoped_ptr<SkBitmap> LayerTreePixelTest::CopyTextureMailboxToBitmap(
|
| return bitmap.Pass();
|
| }
|
|
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| void LayerTreePixelTest::Finish() {
|
| scoped_ptr<gpu::GLInProcessContext> context = CreateTestInProcessContext();
|
| GLES2Interface* gl = context->GetImplementation();
|
|
|