diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 19:55:16 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 19:55:16 +0000 |
commit | c4e52f0d8fa148f543d3e7b2562164e9bf5605aa (patch) | |
tree | 86a455dd54d4542026ff3059ac939dc809a09b26 /chrome/browser/extensions/extensions_service.cc | |
parent | 2fd94bbeefa87a83a96c65ff998add7d7fb0f908 (diff) | |
download | chromium_src-c4e52f0d8fa148f543d3e7b2562164e9bf5605aa.zip chromium_src-c4e52f0d8fa148f543d3e7b2562164e9bf5605aa.tar.gz chromium_src-c4e52f0d8fa148f543d3e7b2562164e9bf5605aa.tar.bz2 |
Use GetSwitchValueASCII.
BUG=24672
TEST=None
Original patch by Thiago Farina <thiago.farina@gmail.com> at
http://codereview.chromium.org/296004
Review URL: http://codereview.chromium.org/373013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extensions_service.cc')
-rw-r--r-- | chrome/browser/extensions/extensions_service.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc index accb9cb..a2193ef 100644 --- a/chrome/browser/extensions/extensions_service.cc +++ b/chrome/browser/extensions/extensions_service.cc @@ -103,8 +103,8 @@ ExtensionsService::ExtensionsService(Profile* profile, if (autoupdate_enabled) { int update_frequency = kDefaultUpdateFrequencySeconds; if (command_line->HasSwitch(switches::kExtensionsUpdateFrequency)) { - update_frequency = StringToInt(WideToASCII(command_line->GetSwitchValue( - switches::kExtensionsUpdateFrequency))); + update_frequency = StringToInt(command_line->GetSwitchValueASCII( + switches::kExtensionsUpdateFrequency)); } updater_ = new ExtensionUpdater(this, prefs, update_frequency); } |