Index: chrome/android/java/src/org/chromium/chrome/browser/tab/InterceptNavigationDelegateImpl.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/InterceptNavigationDelegateImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/InterceptNavigationDelegateImpl.java |
index 3fb4a74185d085ced85bbde53895bac9edfec3b0..9edc7e22055f0e1e12243c554bcf26daede0c432 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/InterceptNavigationDelegateImpl.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/InterceptNavigationDelegateImpl.java |
@@ -38,10 +38,13 @@ public class InterceptNavigationDelegateImpl implements InterceptNavigationDeleg |
private boolean mShouldClearRedirectHistoryForTabClobbering; |
/** |
- * Default constructor of {@link InterceptNavigationDelegateImpl}. |
+ * Creates {@link InterceptNavigationDelegateImpl} with default arguments. |
+ * @param tab The associated tab. |
+ * @return The InterceptNavigationDelegateImpl. |
*/ |
- public InterceptNavigationDelegateImpl(Tab tab) { |
- this(new ExternalNavigationHandler(tab), tab); |
+ public static InterceptNavigationDelegateImpl createDefault(Tab tab) { |
+ return new InterceptNavigationDelegateImpl( |
+ ExternalNavigationHandler.createDefault(tab), tab); |
} |
/** |