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); |
}; |