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

Unified Diff: chrome/browser/ui/app_list/search/common/webservice_cache.cc

Issue 983223004: base: Remove non-const refs from the MRUCache implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/ui/app_list/search/common/webservice_cache.cc
diff --git a/chrome/browser/ui/app_list/search/common/webservice_cache.cc b/chrome/browser/ui/app_list/search/common/webservice_cache.cc
index 0925943b23fce2b773a0d0f113b78da6278e7f82..a2c16174fc05302cdc39849a1ed9dc155c04a1d5 100644
--- a/chrome/browser/ui/app_list/search/common/webservice_cache.cc
+++ b/chrome/browser/ui/app_list/search/common/webservice_cache.cc
@@ -23,8 +23,8 @@ const char kPeopleQueryPrefix[] = "people:";
} // namespace
-void WebserviceCache::CacheDeletor::operator()(Payload& payload) {
- delete payload.result;
+void WebserviceCache::CacheDeletor::operator()(Payload* payload) {
+ delete payload->result;
}
WebserviceCache::WebserviceCache(content::BrowserContext* context)

Powered by Google App Engine
This is Rietveld 408576698