| Index: chrome/browser/ui/views/frame/browser_root_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_root_view.cc b/chrome/browser/ui/views/frame/browser_root_view.cc
|
| index 46c355b401337aa775eff23196794053b94a7bbc..6ac54d94e37a60e78e28cc2e515e358b00624ca1 100644
|
| --- a/chrome/browser/ui/views/frame/browser_root_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_root_view.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "chrome/browser/autocomplete/autocomplete_classifier.h"
|
| #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h"
|
| -#include "chrome/browser/autocomplete/autocomplete_input.h"
|
| #include "chrome/browser/autocomplete/autocomplete_match.h"
|
| #include "chrome/browser/defaults.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -16,6 +15,7 @@
|
| #include "chrome/browser/ui/views/frame/browser_view.h"
|
| #include "chrome/browser/ui/views/tabs/tab_strip.h"
|
| #include "chrome/browser/ui/views/touch_uma/touch_uma.h"
|
| +#include "components/metrics/proto/omnibox_event.pb.h"
|
| #include "ui/base/dragdrop/drag_drop_types.h"
|
| #include "ui/base/dragdrop/os_exchange_data.h"
|
| #include "ui/base/hit_test.h"
|
| @@ -199,7 +199,8 @@ bool BrowserRootView::GetPasteAndGoURL(const ui::OSExchangeData& data,
|
| AutocompleteMatch match;
|
| AutocompleteClassifierFactory::GetForProfile(
|
| browser_view_->browser()->profile())->Classify(
|
| - text, false, false, AutocompleteInput::INVALID_SPEC, &match, NULL);
|
| + text, false, false, metrics::OmniboxEventProto::INVALID_SPEC, &match,
|
| + NULL);
|
| if (!match.destination_url.is_valid())
|
| return false;
|
|
|
|
|