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

Unified Diff: ui/compositor/compositor_observer.h

Issue 859423002: Explicitly specify the ui::Compositor to DelegatedFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add aura:: Created 5 years, 11 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
Index: ui/compositor/compositor_observer.h
diff --git a/ui/compositor/compositor_observer.h b/ui/compositor/compositor_observer.h
index 76b6c5b431d4cccd9b249e2e71ef9745ff8a9d0a..09009435a60c1a68790e8c6967100e447fc88097 100644
--- a/ui/compositor/compositor_observer.h
+++ b/ui/compositor/compositor_observer.h
@@ -41,12 +41,10 @@ class COMPOSITOR_EXPORT CompositorObserver {
virtual void OnCompositingLockStateChanged(Compositor* compositor) = 0;
protected:
-#if defined(OS_MACOSX)
- // Debugging instrumentation for crbug.com/401630.
- // TODO(ccameron): remove this.
+ // Instrumentation to ensure that observers are not left attached after they
+ // are destroyed.
friend class Compositor;
int32 observing_count_;
-#endif
virtual ~CompositorObserver();
};

Powered by Google App Engine
This is Rietveld 408576698