Index: content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestWebContentsObserver.java |
diff --git a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestWebContentsObserver.java b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestWebContentsObserver.java |
index 5872be16b532956b5193e67848d217428efae5ce..0cd968db4cd364abd794dfe5d0abb1e842cfc686 100644 |
--- a/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestWebContentsObserver.java |
+++ b/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestWebContentsObserver.java |
@@ -4,7 +4,6 @@ |
package org.chromium.content.browser.test.util; |
-import org.chromium.content.browser.ContentViewCore; |
import org.chromium.content.browser.WebContentsObserverAndroid; |
import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnPageFinishedHelper; |
import org.chromium.content.browser.test.util.TestCallbackHelperContainer.OnPageStartedHelper; |
@@ -21,11 +20,6 @@ public class TestWebContentsObserver extends WebContentsObserverAndroid { |
private final OnPageFinishedHelper mOnPageFinishedHelper; |
private final OnReceivedErrorHelper mOnReceivedErrorHelper; |
- // TODO(yfriedman): Switch everyone to use the WebContents constructor. |
- public TestWebContentsObserver(ContentViewCore contentViewCore) { |
- this(contentViewCore.getWebContents()); |
- } |
- |
public TestWebContentsObserver(WebContents webContents) { |
super(webContents); |
mOnPageStartedHelper = new OnPageStartedHelper(); |