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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java

Issue 2847523002: Android: Remove GetApplicationContext part 4 (Closed)
Patch Set: Rebase and fix build 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/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java
index 64dfd767b5397f8797ad6d0ab7e60635c65170e2..5ce00cf746be318fd38cd64fd2c68bbba5431e8f 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/LayerTitleCache.java
@@ -125,7 +125,7 @@ public class LayerTitleCache implements TitleCache {
boolean isDarkTheme = tab.isIncognito();
// The theme might require lighter text.
- if (!DeviceFormFactor.isTablet(mContext)) {
+ if (!DeviceFormFactor.isTablet()) {
isDarkTheme |= ColorUtils.shouldUseLightForegroundOnBackground(tab.getThemeColor());
}

Powered by Google App Engine
This is Rietveld 408576698