diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 16:07:35 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 16:07:35 +0000 |
commit | 19bcbfa963214916a9cd6958fac9487b48cbd071 (patch) | |
tree | 6b2f7c7bd91214f980de7390051036d131cb1e8b /chrome/browser/background_contents_service.cc | |
parent | 2f19a2efcd04eefd8b5c2da41bf1d0ceff852fb6 (diff) | |
download | chromium_src-19bcbfa963214916a9cd6958fac9487b48cbd071.zip chromium_src-19bcbfa963214916a9cd6958fac9487b48cbd071.tar.gz chromium_src-19bcbfa963214916a9cd6958fac9487b48cbd071.tar.bz2 |
Remove (deprecated) wstring version of DictionaryValue::RemoveWithoutPathExpansion().
(And convert the few remaining uses.)
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3163011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_contents_service.cc')
-rw-r--r-- | chrome/browser/background_contents_service.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/background_contents_service.cc b/chrome/browser/background_contents_service.cc index 8e322d4..f9eb6f2 100644 --- a/chrome/browser/background_contents_service.cc +++ b/chrome/browser/background_contents_service.cc @@ -233,7 +233,7 @@ void BackgroundContentsService::UnregisterBackgroundContents( const string16 appid = GetParentApplicationId(background_contents); DictionaryValue* pref = prefs_->GetMutableDictionary( prefs::kRegisteredBackgroundContents); - pref->RemoveWithoutPathExpansion(UTF16ToWide(appid), NULL); + pref->RemoveWithoutPathExpansion(UTF16ToUTF8(appid), NULL); prefs_->ScheduleSavePersistentPrefs(); } |