Index: chrome/browser/background_contents_service.cc |
diff --git a/chrome/browser/background_contents_service.cc b/chrome/browser/background_contents_service.cc |
index f9eb6f2f42ff023edf7f0c930e6b650b92f82937..6a61112f937ba4bd430b223a83a203ad7b56ba48 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), ¤t)) |
+ if (pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), ¤t)) |
return; |
// No entry for this application yet, so add one. |