summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/gpu_command_buffer_stub.cc
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/common/gpu/gpu_command_buffer_stub.cc
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/common/gpu/gpu_command_buffer_stub.cc')
-rw-r--r--content/common/gpu/gpu_command_buffer_stub.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 22b90a3..fa22f94 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -983,7 +983,7 @@ void GpuCommandBufferStub::OnRegisterGpuMemoryBuffer(
gfx::Size(width, height),
internalformat,
channel()->client_id());
- if (!image)
+ if (!image.get())
return;
// For Android specific workaround.