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

Unified Diff: mojo/android/system/watcher_impl.cc

Issue 2623263005: Tag some of Mojo heap allocations for the heap profiler. (Closed)
Patch Set: Synced Created 3 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
« no previous file with comments | « media/remoting/demuxer_stream_adapter.cc ('k') | mojo/common/data_pipe_drainer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/system/watcher_impl.cc
diff --git a/mojo/android/system/watcher_impl.cc b/mojo/android/system/watcher_impl.cc
index b9dc2065d0df187d4520e67db7aee1a1517b4e0f..2a6c54cf4b5dd60b83a70899bc0b230da4bf5d96 100644
--- a/mojo/android/system/watcher_impl.cc
+++ b/mojo/android/system/watcher_impl.cc
@@ -28,7 +28,7 @@ namespace {
class WatcherWithMessageLoopObserver
: public base::MessageLoop::DestructionObserver {
public:
- WatcherWithMessageLoopObserver() {}
+ WatcherWithMessageLoopObserver() : watcher_(FROM_HERE) {}
~WatcherWithMessageLoopObserver() override { StopObservingIfNecessary(); }
« no previous file with comments | « media/remoting/demuxer_stream_adapter.cc ('k') | mojo/common/data_pipe_drainer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698