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

Unified Diff: chrome/test/perf/indexeddb_uitest.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-run on ToT, revert third_party changes and fix vexing parses. 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
Index: chrome/test/perf/indexeddb_uitest.cc
diff --git a/chrome/test/perf/indexeddb_uitest.cc b/chrome/test/perf/indexeddb_uitest.cc
index 787f2bf15389276f66aae19d4784a745006460fd..48db062fed63430c2ef0a0fa963e486947f805d6 100644
--- a/chrome/test/perf/indexeddb_uitest.cc
+++ b/chrome/test/perf/indexeddb_uitest.cc
@@ -63,7 +63,8 @@ class IndexedDBTest : public UIPerfTest {
bool GetResults(TabProxy* tab, ResultsMap* results) {
std::wstring json_wide;
- bool succeeded = tab->ExecuteAndExtractString(L"",
+ bool succeeded = tab->ExecuteAndExtractString(
+ std::wstring(),
L"window.domAutomationController.send("
L" JSON.stringify(automation.getResults()));",
&json_wide);
@@ -84,8 +85,8 @@ class IndexedDBTest : public UIPerfTest {
ResultsMap::const_iterator it = results.begin();
for (; it != results.end(); ++it)
- perf_test::PrintResultList(it->first, "", trace_name, it->second, "ms",
- false);
+ perf_test::PrintResultList(
+ it->first, std::string(), trace_name, it->second, "ms", false);
}
DISALLOW_COPY_AND_ASSIGN(IndexedDBTest);

Powered by Google App Engine
This is Rietveld 408576698