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

Unified Diff: chrome/browser/extensions/api/declarative_content/declarative_content_apitest.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/browser/extensions/api/declarative_content/declarative_content_apitest.cc
diff --git a/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc b/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
index 813b6b907247fd6f26f832e727ba00567416c77f..dc3beadccb619a8c8fcd8d67353a72c0964d2b02 100644
--- a/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
+++ b/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc
@@ -56,7 +56,7 @@ IN_PROC_BROWSER_TEST_F(DeclarativeContentApiTest, Overview) {
tab, "document.body.innerHTML = '<input type=\"password\">';"));
// Give the mutation observer a chance to run and send back the
// matching-selector update.
- ASSERT_TRUE(content::ExecuteScript(tab, ""));
+ ASSERT_TRUE(content::ExecuteScript(tab, std::string()));
EXPECT_TRUE(page_action->GetIsVisible(tab_id));
// Remove it again to make sure that reverts the action.
@@ -64,7 +64,7 @@ IN_PROC_BROWSER_TEST_F(DeclarativeContentApiTest, Overview) {
tab, "document.body.innerHTML = 'Hello world';"));
// Give the mutation observer a chance to run and send back the
// matching-selector update.
- ASSERT_TRUE(content::ExecuteScript(tab, ""));
+ ASSERT_TRUE(content::ExecuteScript(tab, std::string()));
EXPECT_FALSE(page_action->GetIsVisible(tab_id));
}

Powered by Google App Engine
This is Rietveld 408576698