Index: android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java |
index dc3fe52c69a80a1e0e06cd8cec79afe3e3b37660..eb28048a7a47a58a5707b0ca0ae263492013e361 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoSurfaceViewUtils.java |
@@ -11,7 +11,6 @@ import android.view.ViewGroup; |
import org.chromium.android_webview.ExternalVideoSurfaceContainer.NoPunchingSurfaceView; |
import org.chromium.android_webview.test.AwTestBase; |
-import org.chromium.base.CommandLine; |
import org.chromium.content.browser.ContentVideoView; |
import org.chromium.content.browser.test.util.Criteria; |
import org.chromium.content.browser.test.util.CriteriaHelper; |
@@ -29,15 +28,6 @@ public class VideoSurfaceViewUtils { |
private static final long MAX_WAIT_FOR_HOLE_PUNCHING_SURFACE_ATTACHED = scaleTimeout(100); |
/** |
- * Force the use of video hole surfaces (see VIDEO_HOLE). If this method is |
- * called video hole surfaces will also be created for clear video and not just for |
- * encrypted video. |
- */ |
- public static void forceUseVideoHoleSurfaceView() { |
- CommandLine.getInstance().appendSwitch("force-use-overlay-embedded-video"); |
- } |
- |
- /** |
* Asserts that the given ViewGroup contains exactly one ContentVideoView. |
* @param test Test doing the assert. |
* @param view View or ViewGroup to traverse. |