| Index: cc/trees/layer_tree_host_unittest_copyrequest.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest_copyrequest.cc b/cc/trees/layer_tree_host_unittest_copyrequest.cc
|
| index c06f345ef17f98c5aa0d92f226bbca19c8ebd0e1..2156c642b19736161cabfb0c7f17640486dbbb30 100644
|
| --- a/cc/trees/layer_tree_host_unittest_copyrequest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest_copyrequest.cc
|
| @@ -803,9 +803,10 @@ class LayerTreeHostCopyRequestTestProvideTexture
|
| &LayerTreeHostCopyRequestTestProvideTexture::CopyOutputCallback,
|
| base::Unretained(this)));
|
|
|
| + gpu::gles2::GLES2Interface* gl = external_context_provider_->ContextGL();
|
| gpu::Mailbox mailbox;
|
| - external_context_provider_->Context3d()->genMailboxCHROMIUM(mailbox.name);
|
| - sync_point_ = external_context_provider_->Context3d()->insertSyncPoint();
|
| + gl->GenMailboxCHROMIUM(mailbox.name);
|
| + sync_point_ = gl->InsertSyncPointCHROMIUM();
|
| request->SetTextureMailbox(TextureMailbox(mailbox, sync_point_));
|
| EXPECT_TRUE(request->has_texture_mailbox());
|
|
|
|
|