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

Unified Diff: chrome/common/extensions/extension_icon_set_unittest.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
Index: chrome/common/extensions/extension_icon_set_unittest.cc
diff --git a/chrome/common/extensions/extension_icon_set_unittest.cc b/chrome/common/extensions/extension_icon_set_unittest.cc
index 1202cda17841150e6a609fd0160241b7e623a895..c7300a7b030abe62c0d52b8aacca3c4c5bae3d7b 100644
--- a/chrome/common/extensions/extension_icon_set_unittest.cc
+++ b/chrome/common/extensions/extension_icon_set_unittest.cc
@@ -62,7 +62,7 @@ TEST(ExtensionIconSet, Values) {
EXPECT_TRUE(icons.ContainsPath("foo"));
EXPECT_TRUE(icons.ContainsPath("bar"));
EXPECT_FALSE(icons.ContainsPath("baz"));
- EXPECT_FALSE(icons.ContainsPath(""));
+ EXPECT_FALSE(icons.ContainsPath(std::string()));
icons.Clear();
EXPECT_FALSE(icons.ContainsPath("foo"));
@@ -83,7 +83,7 @@ TEST(ExtensionIconSet, FindSize) {
EXPECT_EQ(extension_misc::EXTENSION_ICON_INVALID,
icons.GetIconSizeFromPath("baz"));
EXPECT_EQ(extension_misc::EXTENSION_ICON_INVALID,
- icons.GetIconSizeFromPath(""));
+ icons.GetIconSizeFromPath(std::string()));
icons.Clear();
EXPECT_EQ(extension_misc::EXTENSION_ICON_INVALID,
« no previous file with comments | « chrome/common/extensions/extension_file_util_unittest.cc ('k') | chrome/common/extensions/extension_l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698