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

Unified Diff: ios/web/webui/shared_resources_data_source_ios.cc

Issue 1227413007: Move ReplaceStringPlaceholders to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@join
Patch Set: Created 5 years, 5 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
« no previous file with comments | « extensions/renderer/i18n_custom_bindings.cc ('k') | remoting/host/disconnect_window_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/shared_resources_data_source_ios.cc
diff --git a/ios/web/webui/shared_resources_data_source_ios.cc b/ios/web/webui/shared_resources_data_source_ios.cc
index 8545c4fa6aea9d1f9493b9d4709780f89b825e8d..9806336543a04e0d124797313853be35d576bee7 100644
--- a/ios/web/webui/shared_resources_data_source_ios.cc
+++ b/ios/web/webui/shared_resources_data_source_ios.cc
@@ -63,7 +63,7 @@ void SharedResourcesDataSourceIOS::StartDataRequest(
const std::string& chrome_shared =
web_client->GetDataResource(idr, ui::SCALE_FACTOR_NONE).as_string();
std::string replaced =
- ReplaceStringPlaceholders(chrome_shared, placeholders, nullptr);
+ base::ReplaceStringPlaceholders(chrome_shared, placeholders, nullptr);
bytes = base::RefCountedString::TakeString(&replaced);
} else {
bytes = web_client->GetDataResourceBytes(idr);
« no previous file with comments | « extensions/renderer/i18n_custom_bindings.cc ('k') | remoting/host/disconnect_window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698