| Index: chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc b/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
|
| index 62df801938e34614f96e98449eea57ade0cfb464..df6738e9b627142b858ef064e18fa4ca520aea38 100644
|
| --- a/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
|
| @@ -1481,7 +1481,7 @@ void OmniboxViewGtk::HandleDragDataGet(GtkWidget* widget,
|
| break;
|
| }
|
| case ui::CHROME_NAMED_URL: {
|
| - WebContents* current_tab = browser_->GetSelectedWebContents();
|
| + WebContents* current_tab = browser_->GetActiveWebContents();
|
| string16 tab_title = current_tab->GetTitle();
|
| // Pass an empty string if user has edited the URL.
|
| if (current_tab->GetURL().spec() != dragged_text_)
|
|
|