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

Unified Diff: chrome/browser/android/offline_pages/offline_page_utils.cc

Issue 2277003002: [OfflinePages] Removes IsOfflinePagesEnabled() computed flag check from GetOfflinePageForOfflineURL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/browser/android/offline_pages/offline_page_utils.cc
diff --git a/chrome/browser/android/offline_pages/offline_page_utils.cc b/chrome/browser/android/offline_pages/offline_page_utils.cc
index c12186d9ecc04106772a5a7a640a3bede7542222..1f06a44459557725bfa8bf96ba82a262bb5b5766 100644
--- a/chrome/browser/android/offline_pages/offline_page_utils.cc
+++ b/chrome/browser/android/offline_pages/offline_page_utils.cc
@@ -31,9 +31,6 @@ const OfflinePageItem* GetOfflinePageForOfflineURL(
const GURL& offline_url) {
DCHECK(browser_context);
- if (!IsOfflinePagesEnabled())
- return nullptr;
-
// Note that we first check if the url likely points to an offline page
// before calling GetPageByOfflineURL in order to avoid unnecessary lookup
// cost.
« 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