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

Unified Diff: chrome/browser/devtools/devtools_file_helper.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/browser/devtools/devtools_file_helper.cc
diff --git a/chrome/browser/devtools/devtools_file_helper.cc b/chrome/browser/devtools/devtools_file_helper.cc
index d485a526158f303deda69807d86e6b9c3cabcc3c..4aef09107ea10a82db1fa655801e9f15660f548c 100644
--- a/chrome/browser/devtools/devtools_file_helper.cc
+++ b/chrome/browser/devtools/devtools_file_helper.cc
@@ -77,7 +77,7 @@ class SelectFileDialog : public ui::SelectFileDialog::Listener,
default_path,
NULL,
0,
- FILE_PATH_LITERAL(""),
+ FILE_PATH_LITERAL(std::string()),
NULL,
NULL);
}
@@ -346,7 +346,7 @@ void DevToolsFileHelper::AddValidatedFileSystem(
file_system_id,
registered_name,
file_system_path);
- callback.Run("", filesystem);
+ callback.Run(std::string(), filesystem);
}
void DevToolsFileHelper::RequestFileSystems(

Powered by Google App Engine
This is Rietveld 408576698