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

Unified Diff: chrome/browser/history/top_sites.cc

Issue 3117017: Remove deprecated wstring Get(As)String() methods from Value, etc. (Closed)
Patch Set: fix win Created 10 years, 4 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/first_run/first_run_win.cc ('k') | chrome/browser/importer/importer_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites.cc
diff --git a/chrome/browser/history/top_sites.cc b/chrome/browser/history/top_sites.cc
index 97a2155a3bb0bd61bb157b1c682c8c75b3d9c8db..ad49b64bcd55ebf474fa5c88d5a397e6c17caf0d 100644
--- a/chrome/browser/history/top_sites.cc
+++ b/chrome/browser/history/top_sites.cc
@@ -374,8 +374,8 @@ void TopSites::MigratePinnedURLs() {
DictionaryValue* dict = static_cast<DictionaryValue*>(value);
std::string url_string;
int index;
- if (dict->GetString(L"url", &url_string) &&
- dict->GetInteger(L"index", &index))
+ if (dict->GetString("url", &url_string) &&
+ dict->GetInteger("index", &index))
tmp_map[GURL(url_string)] = index;
}
}
« no previous file with comments | « chrome/browser/first_run/first_run_win.cc ('k') | chrome/browser/importer/importer_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698