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

Unified Diff: base/values.cc

Issue 2936005: Compress and checksum pending logs that are going to be persisted. ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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: base/values.cc
===================================================================
--- base/values.cc (revision 52082)
+++ base/values.cc (working copy)
@@ -854,7 +854,7 @@
bool ListValue::AppendIfNotPresent(Value* in_value) {
DCHECK(in_value);
- for (ValueVector::iterator i(list_.begin()); i != list_.end(); ++i) {
+ for (ValueVector::const_iterator i(list_.begin()); i != list_.end(); ++i) {
if ((*i)->Equals(in_value))
return false;
}

Powered by Google App Engine
This is Rietveld 408576698