Index: chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
index dc3a00567b0b5eb86ff2ccdc5a8a87eab84fa16c..3f0c60d677db750991870debb2c038a66a0ef7d9 100644 |
--- a/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
+++ b/chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h" |
#include "chrome/browser/ui/pdf/pdf_tab_helper.h" |
+#include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
#include "chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h" |
#include "grit/generated_resources.h" |
#include "grit/theme_resources.h" |
@@ -23,7 +24,7 @@ OpenPDFInReaderView::OpenPDFInReaderView(LocationBarView* location_bar_view) |
IDR_OMNIBOX_PDF_ICON)); |
SetTooltipText( |
l10n_util::GetStringUTF16(IDS_PDF_BUBBLE_OPEN_IN_READER_LINK)); |
- TouchableLocationBarView::Init(this); |
+ LocationBarView::InitTouchableLocationBarView(this); |
} |
OpenPDFInReaderView::~OpenPDFInReaderView() { |
@@ -41,10 +42,6 @@ void OpenPDFInReaderView::Update(content::WebContents* web_contents) { |
SetVisible(!!model_); |
} |
-int OpenPDFInReaderView::GetBuiltInHorizontalPadding() const { |
- return GetBuiltInHorizontalPaddingImpl(); |
-} |
- |
void OpenPDFInReaderView::ShowBubble() { |
if (bubble_) |
return; |