Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2097)

Unified Diff: cc/trees/layer_tree_host_unittest_copyrequest.cc

Issue 132163004: Remove WebGraphicsContext3D getter from cc::ContextProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..3470b160808254878af518dabcd82041ae1e0abb 100644
--- a/cc/trees/layer_tree_host_unittest_copyrequest.cc
+++ b/cc/trees/layer_tree_host_unittest_copyrequest.cc
@@ -804,8 +804,9 @@ class LayerTreeHostCopyRequestTestProvideTexture
base::Unretained(this)));
gpu::Mailbox mailbox;
- external_context_provider_->Context3d()->genMailboxCHROMIUM(mailbox.name);
- sync_point_ = external_context_provider_->Context3d()->insertSyncPoint();
+ gpu::gles2::GLES2Interface* gl = external_context_provider_->ContextGL();
+ gl->GenMailboxCHROMIUM(mailbox.name);
+ sync_point_ = gl->InsertSyncPointCHROMIUM();
request->SetTextureMailbox(TextureMailbox(mailbox, sync_point_));
EXPECT_TRUE(request->has_texture_mailbox());

Powered by Google App Engine
This is Rietveld 408576698