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

Unified Diff: components/dom_distiller/core/distilled_content_store.h

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: components/dom_distiller/core/distilled_content_store.h
diff --git a/components/dom_distiller/core/distilled_content_store.h b/components/dom_distiller/core/distilled_content_store.h
index 0063dd37166eb4b993277aaafaa0861c12f05d13..7fcd55b40a786d1ca484b9b2ab7042f641058b7f 100644
--- a/components/dom_distiller/core/distilled_content_store.h
+++ b/components/dom_distiller/core/distilled_content_store.h
@@ -63,7 +63,7 @@ class InMemoryContentStore : public DistilledContentStore {
public:
explicit CacheDeletor(InMemoryContentStore* store);
~CacheDeletor();
- void operator()(const DistilledArticleProto& proto);
+ void operator()(DistilledArticleProto* proto);
private:
InMemoryContentStore* store_;

Powered by Google App Engine
This is Rietveld 408576698