Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
index 8f8b8b0abb11f501cea599c54278e67b4251c6b2..b4849e470064986813da420fcd14503326711de2 100644 |
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
@@ -92,7 +92,6 @@ |
#include "ui/gfx/font.h" |
#include "ui/gfx/gtk_util.h" |
#include "ui/gfx/image/image.h" |
-#include "ui/gfx/rect.h" |
using content::NavigationEntry; |
using content::OpenURLParams; |
@@ -618,12 +617,6 @@ WebContents* LocationBarViewGtk::GetWebContents() const { |
return browser_->tab_strip_model()->GetActiveWebContents(); |
} |
-gfx::Rect LocationBarViewGtk::GetOmniboxBounds() const { |
- GtkAllocation hbox_allocation; |
- gtk_widget_get_allocation(hbox_.get(), &hbox_allocation); |
- return AllocationToRect(hbox_allocation); |
-} |
- |
void LocationBarViewGtk::SetPreviewEnabledPageAction( |
ExtensionAction* page_action, |
bool preview_enabled) { |