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

Unified Diff: ui/aura/root_window.h

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 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 | « ui/aura/bench/bench_main.cc ('k') | webkit/chromeos/fileapi/remote_file_system_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index 7b5a59fdaeed51a23768149f55fdea16f06c6b8f..a0d58111c73376e808fad86754bb131f46332b77 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -60,13 +60,13 @@ class TouchEvent;
class AURA_EXPORT CompositorLock :
public base::RefCounted<CompositorLock>,
public base::SupportsWeakPtr<CompositorLock> {
- public:
- ~CompositorLock();
-
private:
+ friend class base::RefCounted<CompositorLock>;
friend class RootWindow;
CompositorLock(RootWindow* root_window);
+ ~CompositorLock();
+
void CancelLock();
RootWindow* root_window_;
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | webkit/chromeos/fileapi/remote_file_system_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698