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

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

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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/net/url_info.cc ('k') | chrome/browser/password_manager/native_backend_kwallet_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_cycler/page_cycler.cc
diff --git a/chrome/browser/page_cycler/page_cycler.cc b/chrome/browser/page_cycler/page_cycler.cc
index 04086d2c99233dd62203f89c5a15952d67688926..b78e1fe72c25dc5f7cc0837588ef060f2a916cf2 100644
--- a/chrome/browser/page_cycler/page_cycler.cc
+++ b/chrome/browser/page_cycler/page_cycler.cc
@@ -192,10 +192,12 @@ void PageCycler::PrepareResultsOnBackgroundThread() {
base::ProcessId pid = base::GetCurrentProcId();
#endif // OS_WIN
ChromeProcessList chrome_processes(GetRunningChromeProcesses(pid));
- output += perf_test::MemoryUsageInfoToString("", chrome_processes, pid);
- output += perf_test::IOPerfInfoToString("", chrome_processes, pid);
- output += perf_test::SystemCommitChargeToString("",
- base::GetSystemCommitCharge(), false);
+ output += perf_test::MemoryUsageInfoToString(
+ std::string(), chrome_processes, pid);
+ output +=
+ perf_test::IOPerfInfoToString(std::string(), chrome_processes, pid);
+ output += perf_test::SystemCommitChargeToString(
+ std::string(), base::GetSystemCommitCharge(), false);
output.append("Pages: [" + urls_string_ + "]\n");
output.append("*RESULT times: t_ref= [" + timings_string_ + "] ms\n");
}
« no previous file with comments | « chrome/browser/net/url_info.cc ('k') | chrome/browser/password_manager/native_backend_kwallet_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698