Index: content/common/gpu/stream_texture_android.cc |
diff --git a/content/common/gpu/stream_texture_android.cc b/content/common/gpu/stream_texture_android.cc |
index 805534c911f200defd3f9a5fc1863b6752a54030..d48891aa87d0c3cd68162e1d496d8146610f6aac 100644 |
--- a/content/common/gpu/stream_texture_android.cc |
+++ b/content/common/gpu/stream_texture_android.cc |
@@ -65,7 +65,7 @@ int32 StreamTexture::Create( |
StreamTexture::StreamTexture(GpuCommandBufferStub* owner_stub, |
int32 route_id, |
uint32 texture_id) |
- : surface_texture_(new gfx::SurfaceTexture(texture_id)), |
+ : surface_texture_(gfx::SurfaceTexture::Create(texture_id)), |
size_(0, 0), |
has_valid_frame_(false), |
has_pending_frame_(false), |