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

Unified Diff: gpu/command_buffer/tests/gl_unittests_android.cc

Issue 191933002: This is initial API support required for enabling SurfaceTexture backed zero-copy for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build issues Created 6 years, 9 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: gpu/command_buffer/tests/gl_unittests_android.cc
diff --git a/gpu/command_buffer/tests/gl_unittests_android.cc b/gpu/command_buffer/tests/gl_unittests_android.cc
index 671676a1fbc545477115c10aee796d3b0870c8bf..27b0cb6242ac2966901e984804672b1f8e076067 100644
--- a/gpu/command_buffer/tests/gl_unittests_android.cc
+++ b/gpu/command_buffer/tests/gl_unittests_android.cc
@@ -39,7 +39,7 @@ TEST_F(GLSurfaceTextureTest, SimpleTest) {
GLuint texture = 0xFEEDBEEF;
scoped_refptr<gfx::SurfaceTexture> surface_texture(
- new gfx::SurfaceTexture(texture));
+ gfx::SurfaceTexture::Create(texture));
gfx::AcceleratedWidget window = surface_texture->CreateSurface();
EXPECT_TRUE(window != NULL);

Powered by Google App Engine
This is Rietveld 408576698