Index: content/common/gpu/texture_image_transport_surface.cc |
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc |
index c78b083e13524017a106f2affccc89f54f03c279..4a56bbf998eee9fe5340ec321fea00b0d2c20bb5 100644 |
--- a/content/common/gpu/texture_image_transport_surface.cc |
+++ b/content/common/gpu/texture_image_transport_surface.cc |
@@ -54,7 +54,7 @@ bool TextureImageTransportSurface::Initialize() { |
GpuChannelManager* manager = helper_->manager(); |
surface_ = manager->GetDefaultOffscreenSurface(); |
- if (!surface_.get()) |
+ if (!surface_) |
return false; |
if (!helper_->Initialize()) |
@@ -71,7 +71,7 @@ bool TextureImageTransportSurface::Initialize() { |
} |
void TextureImageTransportSurface::Destroy() { |
- if (surface_.get()) |
+ if (surface_) |
surface_ = NULL; |
helper_->Destroy(); |
@@ -329,7 +329,7 @@ void TextureImageTransportSurface::BufferPresentedImpl( |
// of the service ids. |
DCHECK(context_.get() && surface_.get()); |
uint32 service_id = backbuffer_->ReleaseServiceId(); |
- if (context_->MakeCurrent(surface_.get())) |
+ if (context_->MakeCurrent(surface_)) |
glDeleteTextures(1, &service_id); |
return; |