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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java

Issue 2285313002: Removes check on deprecated OfflinePageBridge.isOfflinePagesEnabled() from isNtpOfflinePagesEnabled… (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
index f858a26460d0db51955b53ae7f5ac02c219627cc..a16dccd9c4cf23ca905eed9524a46fce35b090f9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
@@ -205,9 +205,7 @@ public class NewTabPage
private static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages";
private boolean isNtpOfflinePagesEnabled() {
- // TODO(treib): Figure out correct offline feature to check.
- return OfflinePageBridge.isOfflinePagesEnabled()
- && ChromeFeatureList.isEnabled(NTP_OFFLINE_PAGES_FEATURE_NAME);
+ return ChromeFeatureList.isEnabled(NTP_OFFLINE_PAGES_FEATURE_NAME);
}
@Override
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698