Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java |
index a10c145f18939b7f61b5eb04bac99bb3ecdda4b7..cf758bbde21d5cfa4b746155e0856de027fc02c0 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java |
@@ -317,6 +317,8 @@ public class ToolbarManager implements ToolbarTabController, UrlFocusChangeListe |
int statusCode) { |
if (isNavigationToDifferentPage) { |
mToolbar.onNavigatedToDifferentPage(); |
+ mToolbar.startLoadProgress(); |
+ updateLoadProgress(tab.getProgress()); |
} |
} |
@@ -1157,6 +1159,7 @@ public class ToolbarManager implements ToolbarTabController, UrlFocusChangeListe |
progress = Math.max(progress, MINIMUM_LOAD_PROGRESS); |
mToolbar.setLoadProgress(progress / 100f); |
+ if (progress == 100) finishLoadProgress(true); |
} |
private void finishLoadProgress(boolean delayed) { |