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

Unified Diff: cc/resources/texture_mailbox_deleter_unittest.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/resources/texture_mailbox_deleter_unittest.cc
diff --git a/cc/resources/texture_mailbox_deleter_unittest.cc b/cc/resources/texture_mailbox_deleter_unittest.cc
index d08da84af9057dfe2d76c49b4f7d76ea3fe34d87..1618275e72cdada37604ffc3f0ded7952283909f 100644
--- a/cc/resources/texture_mailbox_deleter_unittest.cc
+++ b/cc/resources/texture_mailbox_deleter_unittest.cc
@@ -19,7 +19,8 @@ TEST(TextureMailboxDeleterTest, Destroy) {
TestContextProvider::Create();
context_provider->BindToCurrentThread();
- unsigned texture_id = context_provider->Context3d()->createTexture();
+ GLuint texture_id = 0;
+ context_provider->ContextGL()->GenTextures(1, &texture_id);
EXPECT_TRUE(context_provider->HasOneRef());
EXPECT_EQ(1u, context_provider->TestContext3d()->NumTextures());

Powered by Google App Engine
This is Rietveld 408576698