Index: chrome/browser/ui/android/infobars/reader_mode_infobar.cc |
diff --git a/chrome/browser/ui/android/infobars/reader_mode_infobar.cc b/chrome/browser/ui/android/infobars/reader_mode_infobar.cc |
index e424ebd655051022e0d4d8512365bec5db5b899d..67bf3f928333bfb91d4155d14a4ebdc38b71bb44 100644 |
--- a/chrome/browser/ui/android/infobars/reader_mode_infobar.cc |
+++ b/chrome/browser/ui/android/infobars/reader_mode_infobar.cc |
@@ -46,6 +46,10 @@ ScopedJavaLocalRef<jobject> ReaderModeInfoBar::CreateRenderInfoBar( |
return Java_ReaderModeInfoBar_create(env); |
} |
+void ReaderModeInfoBar::Hide(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
+ InfoBarAndroid::Hide(true); |
+} |
+ |
void ReaderModeInfoBar::ProcessButton(int action) {} |
void Create(JNIEnv* env, |