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

Unified Diff: chrome/browser/chromeos/system/timezone_util.cc

Issue 168643002: Convert scoped_ptr_malloc -> scoped_ptr, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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: chrome/browser/chromeos/system/timezone_util.cc
diff --git a/chrome/browser/chromeos/system/timezone_util.cc b/chrome/browser/chromeos/system/timezone_util.cc
index e396942d9cc52b6126771d040d184533c8683774..98e42d597b3bea0f914b04ce97c0fc6d5a95d4b9 100644
--- a/chrome/browser/chromeos/system/timezone_util.cc
+++ b/chrome/browser/chromeos/system/timezone_util.cc
@@ -58,7 +58,7 @@ base::string16 GetExemplarCity(const icu::TimeZone& zone) {
// Resource keys for timezones use ':' in place of '/'.
ReplaceSubstringsAfterOffset(&zone_id_str, 0, "/", ":");
- scoped_ptr_malloc<UResourceBundle, UResClose> zone_item(
+ scoped_ptr<UResourceBundle, UResClose> zone_item(
ures_getByKey(zone_strings, zone_id_str.c_str(), NULL, &status));
icu::UnicodeString city;
if (!U_FAILURE(status)) {
« no previous file with comments | « chrome/app/image_pre_reader_win.cc ('k') | chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698