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

Unified Diff: chrome/browser/extensions/extension_idle_api.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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/extensions/extension_idle_api.cc
diff --git a/chrome/browser/extensions/extension_idle_api.cc b/chrome/browser/extensions/extension_idle_api.cc
index bf22ecc7f5cdea29123c775657eb7122cce6d55f..4ce916eb488d939505a3e3143ae49b470a0ceba8 100644
--- a/chrome/browser/extensions/extension_idle_api.cc
+++ b/chrome/browser/extensions/extension_idle_api.cc
@@ -74,7 +74,8 @@ const char* IdleStateToDescription(IdleState state) {
// Helper function for reporting the idle state. The lifetime of the object
// returned is controlled by the caller.
StringValue* CreateIdleValue(IdleState idle_state) {
- StringValue* result = new StringValue(IdleStateToDescription(idle_state));
+ StringValue* result =
+ base::StringValue::New(IdleStateToDescription(idle_state));
return result;
}
« no previous file with comments | « chrome/browser/extensions/extension_i18n_api.cc ('k') | chrome/browser/extensions/extension_info_private_api_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698