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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 2624583002: Remove redundant c_str() calls. (Closed)
Patch Set: Replace host() with host_piece() call Created 3 years, 11 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/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/font_family_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index e1d7dd2e7ac41876f2ce4050e61a3354190e967b..f4ee81653bb95a310e5693542bab7bf52c3f06b9 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -686,7 +686,7 @@ std::string GetPingDelayPrefName() {
}
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
- registry->RegisterIntegerPref(GetPingDelayPrefName().c_str(), 0);
+ registry->RegisterIntegerPref(GetPingDelayPrefName(), 0);
}
bool SetShowFirstRunBubblePref(FirstRunBubbleOptions show_bubble_option) {
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/font_family_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698