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

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

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 307a11ea3a71d86b451873261fc8050363998673..3c6e3d7c7b34f7da41294ff542e69e38f41069e2 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -59,7 +59,6 @@ class GLES2Decoder;
class ImageTransportSurface {
public:
ImageTransportSurface();
- virtual ~ImageTransportSurface();
virtual void OnNewSurfaceACK(
uint64 surface_id, TransportDIB::Handle surface_handle) = 0;
@@ -80,6 +79,9 @@ class ImageTransportSurface {
const gfx::Rect& new_damage_rect,
std::vector<gfx::Rect>* regions);
+ protected:
+ virtual ~ImageTransportSurface();
+
private:
DISALLOW_COPY_AND_ASSIGN(ImageTransportSurface);
};

Powered by Google App Engine
This is Rietveld 408576698