diff options
author | dcheng <dcheng@chromium.org> | 2014-08-26 16:01:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-26 23:11:21 +0000 |
commit | 56ddc2f61c93ef5827872177c436b1f414ed1d70 (patch) | |
tree | 962139aef64904aaa3d0ee3fe1b8e7bbc27609f1 /content/common/gpu/gpu_command_buffer_stub.cc | |
parent | a7be519752f930df9510761bb578204ed79fc20c (diff) | |
download | chromium_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.cc | 2 |
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. |