Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 270a52b7508a06f82c8cc97cd3fff72c2937315b..98f1e9e30c468ecc840e08af71987c4109283cdb 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -241,10 +241,10 @@ int GpuMain(const MainFunctionParams& parameters) { |
#endif |
if (do_init_sandbox) { |
- if (watchdog_thread.get()) |
+ if (watchdog_thread) |
watchdog_thread->Stop(); |
gpu_info.sandboxed = LinuxSandbox::InitializeSandbox(); |
- if (watchdog_thread.get()) |
+ if (watchdog_thread) |
watchdog_thread->Start(); |
} |
} |
@@ -290,7 +290,7 @@ namespace { |
void CreateDummyGlContext() { |
scoped_refptr<gfx::GLSurface> surface( |
gfx::GLSurface::CreateOffscreenGLSurface(false, gfx::Size(1, 1))); |
- if (!surface.get()) { |
+ if (!surface) { |
VLOG(1) << "gfx::GLSurface::CreateOffscreenGLSurface failed"; |
return; |
} |
@@ -301,7 +301,7 @@ void CreateDummyGlContext() { |
gfx::GLContext::CreateGLContext(NULL, |
surface, |
gfx::PreferDiscreteGpu)); |
- if (!context.get()) { |
+ if (!context) { |
VLOG(1) << "gfx::GLContext::CreateGLContext failed"; |
return; |
} |