| Index: chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| index 90a01a00bcfa8d9610c50231c9de5d8001f008b8..b168c932c13076965547540bdaf3e825c40061ae 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java
|
| @@ -1846,6 +1846,8 @@ public class Tab implements ViewGroup.OnHierarchyChangeListener,
|
| mContentViewCore.setContentViewClient(mContentViewClient);
|
| }
|
|
|
| + mDownloadDelegate = new ChromeDownloadDelegate(mThemedApplicationContext, this);
|
| +
|
| assert mNativeTabAndroid != 0;
|
| nativeInitWebContents(
|
| mNativeTabAndroid, mIncognito, mContentViewCore, mWebContentsDelegate,
|
| @@ -1875,10 +1877,6 @@ public class Tab implements ViewGroup.OnHierarchyChangeListener,
|
| // web views.
|
| mContentViewCore.setShouldSetAccessibilityFocusOnPageLoad(true);
|
|
|
| - mDownloadDelegate = new ChromeDownloadDelegate(
|
| - mThemedApplicationContext, this);
|
| - cvc.setDownloadDelegate(mDownloadDelegate);
|
| -
|
| setInterceptNavigationDelegate(mDelegateFactory.createInterceptNavigationDelegate(
|
| this));
|
|
|
|
|