Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java |
index cb2845ff3516c864c823d0a1c70cfdff0a4f62a2..9959500caf925e7b67c4494ca2bc17609eec81a8 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java |
@@ -267,10 +267,6 @@ public class ReaderModePanel extends OverlayPanel { |
} else if (mTimerRunning && !animatingToOpenState) { |
onTimerEnded(); |
} |
- |
- if (getPanelState() == PanelState.PEEKED) { |
- mManagerDelegate.onPeek(); |
- } |
} |
@Override |
@@ -321,10 +317,6 @@ public class ReaderModePanel extends OverlayPanel { |
if (width != getWidth()) destroyReaderModeBarControl(); |
super.onLayoutChanged(width, height, visibleViewportOffsetY); |
- |
- if (mManagerDelegate != null) { |
- mManagerDelegate.onLayoutChanged(); |
- } |
} |
@Override |