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

Unified Diff: ui/compositor/compositor_observer.cc

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
« ui/aura/window_tree_host.cc ('K') | « ui/compositor/compositor_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor_observer.cc
diff --git a/ui/compositor/compositor_observer.cc b/ui/compositor/compositor_observer.cc
index 209cd5220b38b46c6c206447e39c75795379554f..f6192a221dc69602f33dbd98c1510af2d2689702 100644
--- a/ui/compositor/compositor_observer.cc
+++ b/ui/compositor/compositor_observer.cc
@@ -8,20 +8,10 @@
namespace ui {
-#if defined(OS_MACOSX)
-// Debugging instrumentation for crbug.com/401630.
-// TODO(ccameron): remove this.
CompositorObserver::CompositorObserver() : observing_count_(0) {}
-#else
-CompositorObserver::CompositorObserver() {}
-#endif
CompositorObserver::~CompositorObserver() {
-#if defined(OS_MACOSX)
- // Debugging instrumentation for crbug.com/401630.
- // TODO(ccameron): remove this.
- CHECK_EQ(observing_count_, 0);
-#endif
+ DCHECK_EQ(observing_count_, 0);
}
}
« ui/aura/window_tree_host.cc ('K') | « ui/compositor/compositor_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698