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

Unified Diff: chrome/browser/memory_purger.cc

Issue 9867002: Fix link error when safe browsing is disabled. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minimised #ifdefs Created 8 years, 9 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/memory_purger.cc
diff --git a/chrome/browser/memory_purger.cc b/chrome/browser/memory_purger.cc
index 8e1d9a192c995375e90b01ca91f52a336ac15104..7c2fd9e0154d4cfb13048e04382ed810244f7409 100644
--- a/chrome/browser/memory_purger.cc
+++ b/chrome/browser/memory_purger.cc
@@ -67,7 +67,9 @@ void PurgeMemoryIOHelper::PurgeMemoryOnIOThread() {
PurgeMemory();
}
+#if defined(ENABLE_SAFE_BROWSING)
safe_browsing_service_->PurgeMemory();
+#endif
}
// -----------------------------------------------------------------------------
« 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