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

Unified Diff: webkit/fileapi/external_mount_points_unittest.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: webkit/fileapi/external_mount_points_unittest.cc
diff --git a/webkit/fileapi/external_mount_points_unittest.cc b/webkit/fileapi/external_mount_points_unittest.cc
index 4b2ce6cbf2ae7c78e678255d76bb47c9afd39ea8..8c012fa1fcc1741a19092835421826546e8d0445 100644
--- a/webkit/fileapi/external_mount_points_unittest.cc
+++ b/webkit/fileapi/external_mount_points_unittest.cc
@@ -154,7 +154,7 @@ TEST(ExternalMountPointsTest, GetVirtualPath) {
// A mount point with an empty path.
mount_points->RegisterFileSystem("empty_path",
fileapi::kFileSystemTypeNativeLocal,
- base::FilePath(FPL("")));
+ base::FilePath(FPL(std::string())));
struct TestCase {
const base::FilePath::CharType* const local_path;
@@ -271,7 +271,7 @@ TEST(ExternalMountPointsTest, CreateCrackedFileSystemURL) {
base::FilePath(DRIVE FPL("/a/b/c(1)")));
mount_points->RegisterFileSystem("empty_path",
fileapi::kFileSystemTypeSyncable,
- base::FilePath(FPL("")));
+ base::FilePath(FPL(std::string())));
mount_points->RegisterFileSystem("mount",
fileapi::kFileSystemTypeDrive,
base::FilePath(DRIVE FPL("/root")));
@@ -382,7 +382,7 @@ TEST(ExternalMountPointsTest, CrackVirtualPath) {
base::FilePath(DRIVE FPL("/a/b/c(1)")));
mount_points->RegisterFileSystem("empty_path",
fileapi::kFileSystemTypeSyncable,
- base::FilePath(FPL("")));
+ base::FilePath(FPL(std::string())));
mount_points->RegisterFileSystem("mount",
fileapi::kFileSystemTypeDrive,
base::FilePath(DRIVE FPL("/root")));

Powered by Google App Engine
This is Rietveld 408576698