Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5259)

Unified Diff: chrome/browser/geolocation/access_token_store.cc

Issue 3023037: Remove Value/StringValue's ...UTF16() methods in favour of overloading. (Closed)
Patch Set: I'm an idiot. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/dom_ui/history_ui.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/access_token_store.cc
diff --git a/chrome/browser/geolocation/access_token_store.cc b/chrome/browser/geolocation/access_token_store.cc
index f790c51b0a063a756503a28d9520cb24d811b219..ec0ca387ab17ba58ab192be5dc5182f349e89879 100644
--- a/chrome/browser/geolocation/access_token_store.cc
+++ b/chrome/browser/geolocation/access_token_store.cc
@@ -71,7 +71,7 @@ void SetAccessTokenOnUIThread(const GURL& server_url, const string16& token) {
prefs::kGeolocationAccessToken);
access_token_dictionary->SetWithoutPathExpansion(
UTF8ToWide(server_url.spec()),
- Value::CreateStringValueFromUTF16(token));
+ Value::CreateStringValue(token));
}
void ChromePrefsAccessTokenStore::SaveAccessToken(
« no previous file with comments | « chrome/browser/dom_ui/history_ui.cc ('k') | chrome/browser/plugin_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698