Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index 180dfc8b77f5da80754ba4d3c712a82f200879cb..69a15a598f87a2ec4998a94153fecd1f0ee8287c 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -114,10 +114,12 @@ using views::View; |
namespace { |
+#if !defined(OS_CHROMEOS) |
Browser* GetBrowserFromDelegate(LocationBarView::Delegate* delegate) { |
WebContents* contents = delegate->GetWebContents(); |
return contents ? chrome::FindBrowserWithWebContents(contents) : NULL; |
} |
+#endif |
// Given a containing |height| and a |base_font_list|, shrinks the font size |
// until the font list will fit within |height| while having its cap height |