Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelBase.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelBase.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelBase.java |
index e6deaa663411b57c2e7c4fc8c20733ac219fc227..33f83bb7b26b807ca2c90bc1d9dc7e17b82fa2b5 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelBase.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelBase.java |
@@ -978,8 +978,7 @@ abstract class ContextualSearchPanelBase extends ContextualSearchPanelStateHandl |
offset = Math.min(offset, 0.f); |
// If visible, the Toolbar will be hidden. Therefore, we need to adjust |
// the offset to account for this difference. |
- if (mIsToolbarShowing) |
- offset -= TOOLBAR_HEIGHT_DP; |
+ if (mIsToolbarShowing) offset -= TOOLBAR_HEIGHT_DP; |
// Make sure the offset is not greater than the expanded height, because |
// there's nothing to render below the Page. |
offset = Math.max(offset, -expandedHeight); |