Index: chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/selected_keyword_view.cc b/chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
index a5a157ce42b837013393c450664c06ee982e9a54..d8b0081b5cb70aa52ccc2be3ec5c5f499462fe48 100644 |
--- a/chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
+++ b/chrome/browser/ui/views/location_bar/selected_keyword_view.cc |
@@ -113,14 +113,3 @@ void SelectedKeywordView::SetKeyword(const base::string16& keyword) { |
const char* SelectedKeywordView::GetClassName() const { |
return "SelectedKeywordView"; |
} |
- |
-int SelectedKeywordView::GetImageAndPaddingWidth() const { |
- int width = IconLabelBubbleView::GetImageAndPaddingWidth(); |
- // Squeeze the icon and label closer to account for intrinsic padding in the |
- // icon. |
- if (ui::MaterialDesignController::IsModeMaterial()) |
- width -= 3; |
- |
- DCHECK_GE(width, 0); |
- return width; |
-} |