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

Unified Diff: remoting/client/frame_producer.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 | « remoting/client/frame_consumer.h ('k') | remoting/host/client_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/frame_producer.h
diff --git a/remoting/client/frame_producer.h b/remoting/client/frame_producer.h
index c7976c50ddd62bdffd675ec1e968696656a3121b..340fbb59cf85cad9a2c77e4776d4e905a203f00b 100644
--- a/remoting/client/frame_producer.h
+++ b/remoting/client/frame_producer.h
@@ -19,7 +19,6 @@ namespace remoting {
class FrameProducer {
public:
FrameProducer() {}
- virtual ~FrameProducer() {}
// Adds an image buffer to the pool of pending buffers for subsequent drawing.
// Once drawing is completed the buffer will be returned to the consumer via
@@ -43,6 +42,9 @@ class FrameProducer {
virtual void SetOutputSizeAndClip(const SkISize& view_size,
const SkIRect& clip_area) = 0;
+ protected:
+ virtual ~FrameProducer() {}
+
private:
DISALLOW_COPY_AND_ASSIGN(FrameProducer);
};
« no previous file with comments | « remoting/client/frame_consumer.h ('k') | remoting/host/client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698