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

Unified Diff: content/child/blink_platform_impl.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 | « components/history/core/test/history_unittest_base.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 1fbb0a5439a65e14c143a9b8a700405994d01417..41f46d498aef84c6e91b511b56d3941261746e2c 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -1110,8 +1110,8 @@ WebString BlinkPlatformImpl::queryLocalizedString(
int message_id = ToMessageID(name);
if (message_id < 0)
return WebString();
- return ReplaceStringPlaceholders(GetContentClient()->GetLocalizedString(
- message_id), value, NULL);
+ return base::ReplaceStringPlaceholders(
+ GetContentClient()->GetLocalizedString(message_id), value, NULL);
}
WebString BlinkPlatformImpl::queryLocalizedString(
@@ -1125,7 +1125,7 @@ WebString BlinkPlatformImpl::queryLocalizedString(
values.reserve(2);
values.push_back(value1);
values.push_back(value2);
- return ReplaceStringPlaceholders(
+ return base::ReplaceStringPlaceholders(
GetContentClient()->GetLocalizedString(message_id), values, NULL);
}
« no previous file with comments | « components/history/core/test/history_unittest_base.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698