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

Unified Diff: remoting/base/capture_data.h

Issue 10066042: Refcounted types should not have public destructors, remoting/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Few fixes Created 8 years, 8 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 | « no previous file | remoting/client/frame_consumer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/capture_data.h
diff --git a/remoting/base/capture_data.h b/remoting/base/capture_data.h
index 61bc2e877c4468897d6a895bd969a1c35a64a3d6..0a88bf86411f325e35c2e851d93420e0ea1c4e12 100644
--- a/remoting/base/capture_data.h
+++ b/remoting/base/capture_data.h
@@ -60,6 +60,9 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
}
private:
+ friend class base::RefCountedThreadSafe<CaptureData>;
+ virtual ~CaptureData();
+
const DataPlanes data_planes_;
SkRegion dirty_region_;
SkISize size_;
@@ -70,9 +73,6 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
// Sequence number supplied by client for performance tracking.
int64 client_sequence_number_;
-
- friend class base::RefCountedThreadSafe<CaptureData>;
- virtual ~CaptureData();
};
} // namespace remoting
« no previous file with comments | « no previous file | remoting/client/frame_consumer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698