| Index: content/public/android/javatests/src/org/chromium/content/browser/VideoFullscreenOrientationLockTest.java
|
| diff --git a/content/public/android/javatests/src/org/chromium/content/browser/VideoFullscreenOrientationLockTest.java b/content/public/android/javatests/src/org/chromium/content/browser/VideoFullscreenOrientationLockTest.java
|
| index 446bfb72761522a55385e421d9879bc451af84a3..e5d7fd5a28116b9f78a78a5af72ed772360395cb 100644
|
| --- a/content/public/android/javatests/src/org/chromium/content/browser/VideoFullscreenOrientationLockTest.java
|
| +++ b/content/public/android/javatests/src/org/chromium/content/browser/VideoFullscreenOrientationLockTest.java
|
| @@ -135,7 +135,7 @@ public class VideoFullscreenOrientationLockTest {
|
| @MediumTest
|
| @Feature({"VideoFullscreenOrientationLock"})
|
| public void testEnterExitFullscreenWithControlsButton() throws Exception {
|
| - if (DeviceFormFactor.isTablet(InstrumentationRegistry.getInstrumentation().getContext())) {
|
| + if (DeviceFormFactor.isTablet()) {
|
| return;
|
| }
|
|
|
| @@ -165,7 +165,7 @@ public class VideoFullscreenOrientationLockTest {
|
| @MediumTest
|
| @Feature({"VideoFullscreenOrientationLock"})
|
| public void testEnterExitFullscreenWithAPI() throws Exception {
|
| - if (DeviceFormFactor.isTablet(InstrumentationRegistry.getInstrumentation().getContext())) {
|
| + if (DeviceFormFactor.isTablet()) {
|
| return;
|
| }
|
|
|
| @@ -191,7 +191,7 @@ public class VideoFullscreenOrientationLockTest {
|
| @MediumTest
|
| @Feature({"VideoFullscreenOrientationLock"})
|
| public void testExitFullscreenByRemovingVideo() throws Exception {
|
| - if (DeviceFormFactor.isTablet(InstrumentationRegistry.getInstrumentation().getContext())) {
|
| + if (DeviceFormFactor.isTablet()) {
|
| return;
|
| }
|
|
|
| @@ -218,7 +218,7 @@ public class VideoFullscreenOrientationLockTest {
|
| @MediumTest
|
| @Feature({"VideoFullscreenOrientationLock"})
|
| public void testExitFullscreenWithNavigation() throws Exception {
|
| - if (DeviceFormFactor.isTablet(InstrumentationRegistry.getInstrumentation().getContext())) {
|
| + if (DeviceFormFactor.isTablet()) {
|
| return;
|
| }
|
|
|
|
|