| Index: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
|
| diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
|
| index 9538110820ae35949e34d56c8cdd6b0d1dea52ec..bf003c00d0916b2948f4846e2051dc3becbdc92f 100644
|
| --- a/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
|
| +++ b/chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h
|
| @@ -14,7 +14,6 @@
|
| #include "chrome/browser/autocomplete/autocomplete_match.h"
|
| #include "chrome/browser/ui/webui/mojo_web_ui_handler.h"
|
| #include "chrome/browser/ui/webui/omnibox/omnibox.mojom.h"
|
| -#include "mojo/public/cpp/bindings/remote_ptr.h"
|
|
|
| class AutocompleteController;
|
| class Profile;
|
| @@ -27,13 +26,14 @@ class OmniboxUIHandler : public AutocompleteControllerDelegate,
|
| public OmniboxUIHandlerMojo,
|
| public MojoWebUIHandler {
|
| public:
|
| - OmniboxUIHandler(ScopedOmniboxPageHandle handle, Profile* profile);
|
| + explicit OmniboxUIHandler(Profile* profile);
|
| virtual ~OmniboxUIHandler();
|
|
|
| // AutocompleteControllerDelegate overrides:
|
| virtual void OnResultChanged(bool default_match_changed) OVERRIDE;
|
|
|
| // OmniboxUIHandlerMojo overrides:
|
| + virtual void SetClient(OmniboxPage* page) OVERRIDE;
|
| virtual void StartOmniboxQuery(const mojo::String& input_string,
|
| int32_t cursor_position,
|
| bool prevent_inline_autocomplete,
|
| @@ -50,7 +50,7 @@ class OmniboxUIHandler : public AutocompleteControllerDelegate,
|
| // next query.
|
| void ResetController();
|
|
|
| - mojo::RemotePtr<OmniboxPage> page_;
|
| + OmniboxPage* page_;
|
|
|
| // The omnibox AutocompleteController that collects/sorts/dup-
|
| // eliminates the results as they come in.
|
|
|