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 489c2b3372814b9f90a5d25b41f1da0f1c43eff3..44de05a974652fddefe5f41c71379001af64bed2 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 { |
@Feature({"VideoFullscreenOrientationLock"}) |
public void testEnterExitFullscreenWithControlsButton() throws Exception { |
// TODO(johnme): Use RESTRICTION_TYPE_PHONE once crbug.com/673917 moves it out of chrome/. |
- if (DeviceFormFactor.isTablet(mActivityTestRule.getActivity())) { |
+ if (DeviceFormFactor.isTablet()) { |
return; |
} |
@@ -166,7 +166,7 @@ public class VideoFullscreenOrientationLockTest { |
@Feature({"VideoFullscreenOrientationLock"}) |
public void testEnterExitFullscreenWithAPI() throws Exception { |
// TODO(johnme): Use RESTRICTION_TYPE_PHONE once crbug.com/673917 moves it out of chrome/. |
- if (DeviceFormFactor.isTablet(mActivityTestRule.getActivity())) { |
+ if (DeviceFormFactor.isTablet()) { |
return; |
} |
@@ -193,7 +193,7 @@ public class VideoFullscreenOrientationLockTest { |
@Feature({"VideoFullscreenOrientationLock"}) |
public void testExitFullscreenByRemovingVideo() throws Exception { |
// TODO(johnme): Use RESTRICTION_TYPE_PHONE once crbug.com/673917 moves it out of chrome/. |
- if (DeviceFormFactor.isTablet(mActivityTestRule.getActivity())) { |
+ if (DeviceFormFactor.isTablet()) { |
return; |
} |
@@ -221,7 +221,7 @@ public class VideoFullscreenOrientationLockTest { |
@Feature({"VideoFullscreenOrientationLock"}) |
public void testExitFullscreenWithNavigation() throws Exception { |
// TODO(johnme): Use RESTRICTION_TYPE_PHONE once crbug.com/673917 moves it out of chrome/. |
- if (DeviceFormFactor.isTablet(mActivityTestRule.getActivity())) { |
+ if (DeviceFormFactor.isTablet()) { |
return; |
} |