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

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: Make win bot happy Created 8 years, 6 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
« no previous file with comments | « content/common/gpu/gpu_watchdog.h ('k') | content/public/browser/download_manager_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f7dd57fedd3704071feec0f44b0faa66260f6f4a..2c8ab83a6d07f195d1e531b00896711b25cfd360 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;
@@ -79,6 +78,9 @@ class ImageTransportSurface {
const gfx::Rect& new_damage_rect,
std::vector<gfx::Rect>* regions);
+ protected:
+ virtual ~ImageTransportSurface();
+
private:
DISALLOW_COPY_AND_ASSIGN(ImageTransportSurface);
};
« no previous file with comments | « content/common/gpu/gpu_watchdog.h ('k') | content/public/browser/download_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698