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); |