| Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java
|
| index 3d74cb934588cbd29a339a7ba551c25aa2a8e1b3..1d2aa5523ad0caf2d58b0c9a33b01dd43c319dc3 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java
|
| @@ -228,7 +228,7 @@ public class OverlayPanelContent {
|
| */
|
| private void destroyContentView() {
|
| if (mContentViewCore != null) {
|
| - nativeDestroyWebContents(mNativeOverlayPanelContentPtr);
|
| + int processId = nativeDestroyWebContents(mNativeOverlayPanelContentPtr);
|
| mContentViewCore.getWebContents().destroy();
|
| mContentViewCore.destroy();
|
| mContentViewCore = null;
|
| @@ -243,7 +243,7 @@ public class OverlayPanelContent {
|
| setVisibility(false);
|
|
|
| // After everything has been disposed, notify the observer.
|
| - mContentDelegate.onContentViewDestroyed();
|
| + mContentDelegate.onContentViewDestroyed(processId);
|
| }
|
| }
|
|
|
| @@ -428,7 +428,7 @@ public class OverlayPanelContent {
|
| long nativeOverlayPanelContent, String historyUrl, long urlTimeMs);
|
| private native void nativeSetWebContents(long nativeOverlayPanelContent,
|
| ContentViewCore contentViewCore, WebContentsDelegateAndroid delegate);
|
| - private native void nativeDestroyWebContents(long nativeOverlayPanelContent);
|
| + private native int nativeDestroyWebContents(long nativeOverlayPanelContent);
|
| private native void nativeSetInterceptNavigationDelegate(long nativeOverlayPanelContent,
|
| InterceptNavigationDelegate delegate, WebContents webContents);
|
| }
|
|
|