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

Unified Diff: remoting/client/frame_consumer.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 | « ppapi/proxy/host_dispatcher.h ('k') | remoting/client/frame_producer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/frame_consumer.h
diff --git a/remoting/client/frame_consumer.h b/remoting/client/frame_consumer.h
index ce852b4fe599b1cf5a8f342067423d69d71a1a78..22701f4be0d567c16a03347345c8bf9e4905311b 100644
--- a/remoting/client/frame_consumer.h
+++ b/remoting/client/frame_consumer.h
@@ -17,9 +17,6 @@ namespace remoting {
class FrameConsumer {
public:
- FrameConsumer() {}
- virtual ~FrameConsumer() {}
-
// Accepts a buffer to be painted to the screen. The buffer's dimensions and
// relative position within the frame are specified by |clip_area|. Only
// pixels falling within |region| and the current clipping area are painted.
@@ -41,6 +38,10 @@ class FrameConsumer {
// Set the dimension of the entire host screen.
virtual void SetSourceSize(const SkISize& source_size) = 0;
+ protected:
+ FrameConsumer() {}
+ virtual ~FrameConsumer() {}
+
private:
DISALLOW_COPY_AND_ASSIGN(FrameConsumer);
};
« no previous file with comments | « ppapi/proxy/host_dispatcher.h ('k') | remoting/client/frame_producer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698