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

Unified Diff: chromeos/dbus/ibus/ibus_property_unittest.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
« no previous file with comments | « chromeos/dbus/ibus/ibus_property.cc ('k') | content/browser/geolocation/location_arbitrator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/ibus/ibus_property_unittest.cc
diff --git a/chromeos/dbus/ibus/ibus_property_unittest.cc b/chromeos/dbus/ibus/ibus_property_unittest.cc
index 833df17f25abd6cc39497cba884ee59b3998a1a4..471e96fc8e9e5e5076426efeaeb954ebed0ed1ef 100644
--- a/chromeos/dbus/ibus/ibus_property_unittest.cc
+++ b/chromeos/dbus/ibus/ibus_property_unittest.cc
@@ -38,7 +38,7 @@ void SetProperty(const std::string& prefix, IBusProperty* property) {
property->set_tooltip(prefix + kSampleTooltip);
property->set_visible(kSampleVisible);
property->set_checked(kSampleChecked);
- property->mutable_sub_properties()->reset();
+ property->mutable_sub_properties()->clear();
}
// Checks testing data in |property| with |prefix|.
« no previous file with comments | « chromeos/dbus/ibus/ibus_property.cc ('k') | content/browser/geolocation/location_arbitrator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698