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

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

Issue 10071038: RefCounted types should not have public destructors, content/browser part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index b2d27d47d440d0f03dfb2d103f2d70366a2265a5..d502289b85e22475fc2cb6cf585dee3b83f33ae2 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -158,7 +158,6 @@ class PassThroughImageTransportSurface
GpuCommandBufferStub* stub,
gfx::GLSurface* surface,
bool transport);
- virtual ~PassThroughImageTransportSurface();
// GLSurface implementation.
virtual bool Initialize() OVERRIDE;
@@ -176,6 +175,8 @@ class PassThroughImageTransportSurface
virtual void OnResize(gfx::Size size) OVERRIDE;
private:
+ virtual ~PassThroughImageTransportSurface();
+
scoped_ptr<ImageTransportHelper> helper_;
gfx::Size new_size_;
bool transport_;

Powered by Google App Engine
This is Rietveld 408576698