Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1238)

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.cc

Issue 161113002: Fix pushState causing stop/reload button and favicon to flicker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/chrome_web_contents_delegate_android.cc
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.cc b/chrome/browser/android/chrome_web_contents_delegate_android.cc
index 3f6aa0e530c02820964c685c930475b4ca908b66..a5c2e8c41b964dc8b88fae7688515324b90fc872 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.cc
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.cc
@@ -88,9 +88,10 @@ bool RegisterChromeWebContentsDelegateAndroid(JNIEnv* env) {
}
void ChromeWebContentsDelegateAndroid::LoadingStateChanged(
- WebContents* source) {
+ WebContents* source, bool to_different_document) {
bool has_stopped = source == NULL || !source->IsLoading();
- WebContentsDelegateAndroid::LoadingStateChanged(source);
+ WebContentsDelegateAndroid::LoadingStateChanged(
+ source, to_different_document);
LoadProgressChanged(source, has_stopped ? 1 : 0);
}
« no previous file with comments | « chrome/browser/android/chrome_web_contents_delegate_android.h ('k') | chrome/browser/chromeos/login/captive_portal_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698