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

Unified Diff: chromeos/dbus/ibus/ibus_property.cc

Issue 10797017: base: Make ScopedVector::clear() destroy elements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update location_bar_view_mac.mm Created 8 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: chromeos/dbus/ibus/ibus_property.cc
diff --git a/chromeos/dbus/ibus/ibus_property.cc b/chromeos/dbus/ibus/ibus_property.cc
index 86c6890211fdcc296b5a5f92f8dee153200b7d36..eae8b00b14293fe3ddd90ff49ebeb42a049fddd0 100644
--- a/chromeos/dbus/ibus/ibus_property.cc
+++ b/chromeos/dbus/ibus/ibus_property.cc
@@ -128,7 +128,7 @@ bool CHROMEOS_EXPORT PopIBusPropertyList(dbus::MessageReader* reader,
<< "1st argument should be array.";
return false;
}
- property_list->reset();
+ property_list->clear();
while (property_array_reader.HasMoreData()) {
IBusProperty* property = new IBusProperty;
if (!PopIBusProperty(&property_array_reader, property)) {
« no previous file with comments | « chrome/browser/webdata/autofill_profile_syncable_service.cc ('k') | chromeos/dbus/ibus/ibus_property_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698