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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/VideoFullscreenOrientationLockChromeTest.java

Issue 2847523002: Android: Remove GetApplicationContext part 4 (Closed)
Patch Set: Fix test. 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: chrome/android/javatests/src/org/chromium/chrome/browser/VideoFullscreenOrientationLockChromeTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/VideoFullscreenOrientationLockChromeTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/VideoFullscreenOrientationLockChromeTest.java
index bf9c14e262a20b4498ea6160e6f3beb76e719194..c6c6e35552a906d8d636c2e9a7a7a8a4c4a4516e 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/VideoFullscreenOrientationLockChromeTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/VideoFullscreenOrientationLockChromeTest.java
@@ -101,7 +101,7 @@ public class VideoFullscreenOrientationLockChromeTest extends ChromeTabbedActivi
@Feature({"VideoFullscreenOrientationLock"})
@RetryOnFailure // The final waitForContentsFullscreenState(false) is flaky - crbug.com/711005.
public void testUnlockWithDownloadViewerActivity() throws Exception {
- if (DeviceFormFactor.isTablet(getInstrumentation().getContext())) return;
+ if (DeviceFormFactor.isTablet()) return;
// Start playback to guarantee it's properly loaded.
assertTrue(DOMUtils.isMediaPaused(getWebContents(), VIDEO_ID));

Powered by Google App Engine
This is Rietveld 408576698