| 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
|
|
|