Index: chrome/browser/geolocation/chrome_access_token_store.cc |
diff --git a/chrome/browser/geolocation/chrome_access_token_store.cc b/chrome/browser/geolocation/chrome_access_token_store.cc |
index 633344e1b58cd63ccd9c21d4ba68dfe53c605ba4..1c33205a93116497bf210d3d46ff85fb2642ff29 100644 |
--- a/chrome/browser/geolocation/chrome_access_token_store.cc |
+++ b/chrome/browser/geolocation/chrome_access_token_store.cc |
@@ -117,8 +117,8 @@ static void SetAccessTokenOnUIThread(const GURL& server_url, |
DictionaryPrefUpdate update(g_browser_process->local_state(), |
prefs::kGeolocationAccessToken); |
base::DictionaryValue* access_token_dictionary = update.Get(); |
- access_token_dictionary->SetWithoutPathExpansion(server_url.spec(), |
- new base::Value(token)); |
+ access_token_dictionary->SetStringWithoutPathExpansion(server_url.spec(), |
+ token); |
} |
void ChromeAccessTokenStore::SaveAccessToken( |