| Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkActivity.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkActivity.java
|
| index 5fa27c5cb10861879c752d282f836009d92fd34d..e2519d41de7d68094ceaa52825c9f043fc8a517f 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkActivity.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkActivity.java
|
| @@ -19,7 +19,6 @@
|
| import org.chromium.chrome.browser.tab.Tab;
|
| import org.chromium.chrome.browser.tab.TabDelegateFactory;
|
| import org.chromium.chrome.browser.tab.TabRedirectHandler;
|
| -import org.chromium.chrome.browser.util.UrlUtilities;
|
| import org.chromium.components.navigation_interception.NavigationParams;
|
| import org.chromium.webapk.lib.client.WebApkServiceConnectionManager;
|
|
|
| @@ -58,7 +57,7 @@
|
| return new WebappDelegateFactory(this) {
|
| @Override
|
| public InterceptNavigationDelegateImpl createInterceptNavigationDelegate(Tab tab) {
|
| - return new WebappInterceptNavigationDelegate(WebApkActivity.this, tab) {
|
| + return new InterceptNavigationDelegateImpl(tab) {
|
| @Override
|
| public ExternalNavigationParams.Builder buildExternalNavigationParams(
|
| NavigationParams navigationParams,
|
| @@ -68,11 +67,6 @@
|
| navigationParams, tabRedirectHandler, shouldCloseTab);
|
| builder.setWebApkPackageName(getWebApkPackageName());
|
| return builder;
|
| - }
|
| -
|
| - @Override
|
| - protected boolean isUrlOutsideWebappScope(WebappInfo info, String url) {
|
| - return !UrlUtilities.isUrlWithinScope(url, info.scopeUri().toString());
|
| }
|
| };
|
| }
|
|
|