Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/VideoFullscreenOrientationLockTest.java

Issue 2847523002: Android: Remove GetApplicationContext part 4 (Closed)
Patch Set: fix cronet Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698