| Index: android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java b/android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java
|
| index 56d09a962cf4bae084ac30ab5b2ad55ca0b0a443..50edaf629b3f8741b94726911965dcf58af437c9 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwWebContentsObserver.java
|
| @@ -100,6 +100,8 @@ public class AwWebContentsObserver extends WebContentsObserver {
|
|
|
| mCommittedNavigation = true;
|
|
|
| + if (!isInMainFrame) return;
|
| +
|
| AwContentsClient client = mAwContentsClient.get();
|
| if (hasCommitted && client != null) {
|
| boolean isReload = pageTransition != null
|
| @@ -107,8 +109,6 @@ public class AwWebContentsObserver extends WebContentsObserver {
|
| client.getCallbackHelper().postDoUpdateVisitedHistory(url, isReload);
|
| }
|
|
|
| - if (!isInMainFrame) return;
|
| -
|
| // Only invoke the onPageCommitVisible callback when navigating to a different document,
|
| // but not when navigating to a different fragment within the same document.
|
| if (!isSameDocument) {
|
|
|