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

Unified Diff: ios/web/webui/mojo_facade.h

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 | « content/child/web_data_consumer_handle_impl.cc ('k') | ios/web/webui/mojo_facade.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/mojo_facade.h
diff --git a/ios/web/webui/mojo_facade.h b/ios/web/webui/mojo_facade.h
index 1d6d487d01bcee75ce4a503f6a10b85d548a2b45..0e773088c5bff3494edb23d2314e7edfb8c1f6e5 100644
--- a/ios/web/webui/mojo_facade.h
+++ b/ios/web/webui/mojo_facade.h
@@ -6,6 +6,7 @@
#define IOS_WEB_WEBUI_MOJO_FACADE_H_
#include <map>
+#include <memory>
#include <string>
#import "base/ios/weak_nsobject.h"
@@ -132,7 +133,7 @@ class MojoFacade {
// Id of the last created watch.
int last_watch_id_;
// Currently active watches created through this facade.
- std::map<int, mojo::Watcher> watchers_;
+ std::map<int, std::unique_ptr<mojo::Watcher>> watchers_;
};
} // web
« no previous file with comments | « content/child/web_data_consumer_handle_impl.cc ('k') | ios/web/webui/mojo_facade.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698