Index: chrome/android/java/src/org/chromium/chrome/browser/EmbedContentViewActivity.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/EmbedContentViewActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/EmbedContentViewActivity.java |
index 6725552fadb0e6f2b91057a846ac07cd64959c1d..7ac4f7e71aa06769884d7035eb10dfae88b0a0ca 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/EmbedContentViewActivity.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/EmbedContentViewActivity.java |
@@ -14,7 +14,6 @@ import android.view.MenuItem; |
import android.view.View; |
import org.chromium.chrome.R; |
-import org.chromium.chrome.browser.firstrun.FirstRunFlowSequencer; |
import org.chromium.chrome.browser.firstrun.FirstRunStatus; |
import org.chromium.chrome.browser.fullscreen.ChromeFullscreenManager; |
import org.chromium.chrome.browser.tab.Tab; |
@@ -125,12 +124,6 @@ public class EmbedContentViewActivity extends FullScreenActivity { |
@Override |
protected TabDelegate createTabDelegate(boolean incognito) { |
- return new TabDelegate(incognito) { |
- @Override |
- protected boolean isAllowedToLaunchDocumentActivity(Context context) { |
- // Catch a corner case where the user can bypass the ToS. crbug.com/516645 |
- return FirstRunFlowSequencer.checkIfFirstRunIsNecessary(context, false) == null; |
- } |
- }; |
+ return new TabDelegate(incognito); |
} |
} |