Index: gpu/command_buffer/service/stream_texture_manager_in_process_android.cc |
diff --git a/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc b/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc |
index 691e7ceabd86a31fe706f3f476315e181288b84b..534166b5eb518827f3ba4ba4a85a5bd415cfafce 100644 |
--- a/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc |
+++ b/gpu/command_buffer/service/stream_texture_manager_in_process_android.cc |
@@ -83,7 +83,7 @@ GLuint StreamTextureManagerInProcess::CreateStreamTexture( |
} |
scoped_refptr<gfx::SurfaceTexture> surface_texture( |
- new gfx::SurfaceTexture(texture->service_id())); |
+ gfx::SurfaceTexture::Create(texture->service_id())); |
uint32 stream_id = next_id_++; |
base::Closure release_callback = |