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

Unified Diff: content/common/gpu/texture_image_transport_surface.h

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/texture_image_transport_surface.h
diff --git a/content/common/gpu/texture_image_transport_surface.h b/content/common/gpu/texture_image_transport_surface.h
index 34918f98c3a934db4cb52954a9e2feec34be4a54..68d81d17e6648a77b8e5d3c6a8f7c205fb6bde6d 100644
--- a/content/common/gpu/texture_image_transport_surface.h
+++ b/content/common/gpu/texture_image_transport_surface.h
@@ -61,7 +61,7 @@ class TextureImageTransportSurface
private:
gfx::Size backbuffer_size() const {
- DCHECK(backbuffer_);
+ DCHECK(backbuffer_.get());
GLsizei width = 0;
GLsizei height = 0;
backbuffer_->texture()->GetLevelSize(GL_TEXTURE_2D, 0, &width, &height);
« no previous file with comments | « content/common/gpu/image_transport_surface_linux.cc ('k') | content/common/gpu/texture_image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698