| Index: ios/web/public/webui/web_ui_ios.h
|
| diff --git a/ios/web/public/webui/web_ui_ios.h b/ios/web/public/webui/web_ui_ios.h
|
| index 0da4be8778afc337a7c9730bd386c2d0047b860d..605348d69994d9193c29844d2826bb1a45c0c35c 100644
|
| --- a/ios/web/public/webui/web_ui_ios.h
|
| +++ b/ios/web/public/webui/web_ui_ios.h
|
| @@ -41,7 +41,8 @@ class WebUIIOS {
|
| virtual void SetController(WebUIIOSController* controller) = 0;
|
|
|
| // Takes ownership of |handler|, which will be destroyed when the WebUIIOS is.
|
| - virtual void AddMessageHandler(WebUIIOSMessageHandler* handler) = 0;
|
| + virtual void AddMessageHandler(
|
| + std::unique_ptr<WebUIIOSMessageHandler> handler) = 0;
|
|
|
| // Used by WebUIIOSMessageHandlers. If the given message is already
|
| // registered, the call has no effect unless |register_callback_overwrites_|
|
|
|