summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
index 74244c6..c140d73 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java
@@ -1117,6 +1117,10 @@ public class ToolbarPhone extends ToolbarLayout
super.draw(canvas);
if (shouldClip) {
canvas.restore();
+
+ // Post an invalidate when the clip rect becomes null to ensure another draw pass occurs
+ // and the full toolbar is drawn again.
+ if (mClipRect == null) postInvalidate();
}
}