| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| index b61e4b55bdddd830e298056e0caa3c6b6fae3390..2b6a6849c0c2ddc291d2a6712e5bfa7be32483fb 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -785,8 +785,6 @@ public class AwContents {
|
| installWebContentsObserver();
|
| mSettings.setWebContents(nativeWebContents);
|
| nativeSetDipScale(mNativeAwContents, (float) mDIPScale);
|
| -
|
| - // The only call to onShow. onHide should never be called.
|
| mContentViewCore.onShow();
|
| }
|
|
|
| @@ -1436,6 +1434,7 @@ public class AwContents {
|
| if (mIsPaused || isDestroyed()) return;
|
| mIsPaused = true;
|
| nativeSetIsPaused(mNativeAwContents, mIsPaused);
|
| + mContentViewCore.onHide();
|
| }
|
|
|
| /**
|
| @@ -1445,6 +1444,7 @@ public class AwContents {
|
| if (!mIsPaused || isDestroyed()) return;
|
| mIsPaused = false;
|
| nativeSetIsPaused(mNativeAwContents, mIsPaused);
|
| + mContentViewCore.onShow();
|
| }
|
|
|
| /**
|
|
|