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

Unified Diff: chrome/browser/chromeos/contacts/contact_map.cc

Issue 10910162: contacts: Apply nits to ContactMap class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | chrome/browser/chromeos/contacts/contact_map_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/contacts/contact_map.cc
diff --git a/chrome/browser/chromeos/contacts/contact_map.cc b/chrome/browser/chromeos/contacts/contact_map.cc
index f538f51ae52efdc3aa2766d4b085e9a1efff6f6f..b24fbc0aeec05525fd41877e36bc05da128d32c1 100644
--- a/chrome/browser/chromeos/contacts/contact_map.cc
+++ b/chrome/browser/chromeos/contacts/contact_map.cc
@@ -19,7 +19,6 @@ const Contact* ContactMap::Find(const std::string& contact_id) const {
void ContactMap::Clear() {
STLDeleteValues(&contacts_);
- contacts_.clear();
}
void ContactMap::Merge(scoped_ptr<ScopedVector<Contact> > updated_contacts,
« no previous file with comments | « no previous file | chrome/browser/chromeos/contacts/contact_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698