summaryrefslogtreecommitdiffstats
path: root/chrome/test/perf/page_cycler_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/perf/page_cycler_test.cc')
-rw-r--r--chrome/test/perf/page_cycler_test.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/chrome/test/perf/page_cycler_test.cc b/chrome/test/perf/page_cycler_test.cc
index 4354faf..9d13000 100644
--- a/chrome/test/perf/page_cycler_test.cc
+++ b/chrome/test/perf/page_cycler_test.cc
@@ -215,10 +215,11 @@ class PageCyclerTest : public UIPerfTest {
// Get the timing cookie value from the DOM automation.
std::wstring wcookie;
- ASSERT_TRUE(tab->ExecuteAndExtractString(L"",
- L"window.domAutomationController.send("
- L"JSON.stringify(__get_timings()));",
- &wcookie));
+ ASSERT_TRUE(tab->ExecuteAndExtractString(
+ std::wstring(),
+ L"window.domAutomationController.send("
+ L"JSON.stringify(__get_timings()));",
+ &wcookie));
cookie = base::SysWideToNativeMB(wcookie);
// JSON.stringify() encapsulates the returned string in quotes, strip them.
@@ -260,8 +261,8 @@ class PageCyclerTest : public UIPerfTest {
printf("Pages: [%s]\n", base::SysWideToNativeMB(pages).c_str());
- perf_test::PrintResultList(graph, "", trace_name, timings, "ms",
- true /* important */);
+ perf_test::PrintResultList(
+ graph, std::string(), trace_name, timings, "ms", true /* important */);
}
void RunTest(const char* graph, const char* name, bool use_http) {
@@ -275,7 +276,7 @@ class PageCyclerTest : public UIPerfTest {
ASSERT_TRUE(tab.get());
std::wstring whistogram;
ASSERT_TRUE(tab->ExecuteAndExtractString(
- L"",
+ std::wstring(),
L"window.domAutomationController.send("
L"window.domAutomationController.getHistogram ? "
L"window.domAutomationController.getHistogram(\"" +