summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_contents_service.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 01:49:14 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-14 01:49:14 +0000
commit9001854dba5933cfd3cecb2e7a1bb73c50cb57d2 (patch)
tree6908aa44e120a3666e1ab824e69504d5ad65bcdd /chrome/browser/background_contents_service.cc
parent67dd36a9a1022bc9a63f74740dff610536e536e8 (diff)
downloadchromium_src-9001854dba5933cfd3cecb2e7a1bb73c50cb57d2.zip
chromium_src-9001854dba5933cfd3cecb2e7a1bb73c50cb57d2.tar.gz
chromium_src-9001854dba5933cfd3cecb2e7a1bb73c50cb57d2.tar.bz2
Remove deprecated wstring DictionaryValue::Get{Dictionary,List}WithoutPathExpansion() overloads.
BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3163015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_contents_service.cc')
-rw-r--r--chrome/browser/background_contents_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/background_contents_service.cc b/chrome/browser/background_contents_service.cc
index f9eb6f2..6a61112 100644
--- a/chrome/browser/background_contents_service.cc
+++ b/chrome/browser/background_contents_service.cc
@@ -214,7 +214,7 @@ void BackgroundContentsService::RegisterBackgroundContents(
prefs::kRegisteredBackgroundContents);
const string16& appid = GetParentApplicationId(background_contents);
DictionaryValue* current;
- if (pref->GetDictionaryWithoutPathExpansion(UTF16ToWide(appid), &current))
+ if (pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), &current))
return;
// No entry for this application yet, so add one.