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 adc530afda0c9e58c70cb26e72fab4eed3ae89a1..f993ee55b1e7eb393c3c9c2248be64042086564b 100644 |
--- a/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc |
+++ b/chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc |
@@ -118,8 +118,9 @@ void DeclarativeContentApiTest::CheckIncognito(IncognitoMode mode, |
bool is_enabled_in_incognito) { |
std::string manifest = kDeclarativeContentManifest; |
if (mode == SPLIT) { |
- ReplaceSubstringsAfterOffset(&manifest, 0, "\"incognito\": \"spanning\"", |
- "\"incognito\": \"split\""); |
+ base::ReplaceSubstringsAfterOffset( |
+ &manifest, 0, "\"incognito\": \"spanning\"", |
+ "\"incognito\": \"split\""); |
ASSERT_NE(kDeclarativeContentManifest, manifest); |
} |
ext_dir_.WriteManifest(manifest); |
@@ -571,7 +572,7 @@ IN_PROC_BROWSER_TEST_F(DeclarativeContentApiTest, |
IN_PROC_BROWSER_TEST_F(DeclarativeContentApiTest, |
ShowPageActionWithoutPageAction) { |
std::string manifest_without_page_action = kDeclarativeContentManifest; |
- ReplaceSubstringsAfterOffset( |
+ base::ReplaceSubstringsAfterOffset( |
&manifest_without_page_action, 0, "\"page_action\": {},", ""); |
ASSERT_NE(kDeclarativeContentManifest, manifest_without_page_action); |
ext_dir_.WriteManifest(manifest_without_page_action); |