summaryrefslogtreecommitdiffstats
path: root/content/gpu
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-08-26 16:01:40 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-26 23:11:21 +0000
commit56ddc2f61c93ef5827872177c436b1f414ed1d70 (patch)
tree962139aef64904aaa3d0ee3fe1b8e7bbc27609f1 /content/gpu
parenta7be519752f930df9510761bb578204ed79fc20c (diff)
downloadchromium_src-56ddc2f61c93ef5827872177c436b1f414ed1d70.zip
chromium_src-56ddc2f61c93ef5827872177c436b1f414ed1d70.tar.gz
chromium_src-56ddc2f61c93ef5827872177c436b1f414ed1d70.tar.bz2
Remove implicit conversions from scoped_refptr to T* in content/*/gpu/
This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/503253003 Cr-Commit-Position: refs/heads/master@{#292018}
Diffstat (limited to 'content/gpu')
-rw-r--r--content/gpu/gpu_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index c79e6ba..d05b6d8 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -348,7 +348,7 @@ int GpuMain(const MainFunctionParams& parameters) {
gpu_process.set_main_thread(child_thread);
- if (watchdog_thread)
+ if (watchdog_thread.get())
watchdog_thread->AddPowerObserver();
{