Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1164)

Unified Diff: content/common/gpu/gpu_command_buffer_stub.cc

Issue 503253003: Remove implicit conversions from scoped_refptr to T* in content/*/gpu/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 22b90a3d98c33a7d9e9cda1824974945c20e400b..fa22f94ed7115517a26c8fa005a0cc4d4258cd69 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.

Powered by Google App Engine
This is Rietveld 408576698