Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java |
index 0ff5973afc2590e916049e9fab80d17fb7edd24a..6a11c6db01138991a2eefbd2664e43ec8f044e0c 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java |
@@ -214,7 +214,10 @@ public class CustomTabToolbar extends ToolbarLayout implements LocationBar, |
// It takes some time to parse the title of the webcontent, and before that Tab#getTitle |
// always return the url. We postpone the title animation until the title is authentic. |
- if (mShouldShowTitle && !TextUtils.equals(currentTab.getTitle(), currentTab.getUrl())) { |
+ // TODO(yusufo): Clear the explicit references to about:blank here and for domain. |
+ if (mShouldShowTitle |
+ && !TextUtils.equals(currentTab.getTitle(), currentTab.getUrl()) |
+ && !TextUtils.equals(currentTab.getTitle(), "about:blank")) { |
long duration = System.currentTimeMillis() - mInitializeTimeStamp; |
if (duration >= TITLE_ANIM_DELAY_MS) { |
mTitleAnimationStarter.run(); |