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

Unified Diff: ios/chrome/browser/infobars/confirm_infobar_controller.mm

Issue 1200393002: Add more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string
Patch Set: Android Created 5 years, 6 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/dispatcher.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/infobars/confirm_infobar_controller.mm
diff --git a/ios/chrome/browser/infobars/confirm_infobar_controller.mm b/ios/chrome/browser/infobars/confirm_infobar_controller.mm
index 9e93848ff4335b3d740209b69b4fb8227554347b..90f53a840a2f4506b5e472707cfac10dcdd2d2c4 100644
--- a/ios/chrome/browser/infobars/confirm_infobar_controller.mm
+++ b/ios/chrome/browser/infobars/confirm_infobar_controller.mm
@@ -115,7 +115,7 @@ ConfirmInfoBarDelegate::InfoBarButton UITagToButton(NSUInteger tag) {
confirmInfobarDelegate_->GetLinkText())
tag:ConfirmInfoBarUITags::TITLE_LINK]);
base::string16 messageText = confirmInfobarDelegate_->GetMessageText();
- ReplaceFirstSubstringAfterOffset(
+ base::ReplaceFirstSubstringAfterOffset(
&messageText, 0, confirmInfobarDelegate_->GetLinkText(), msgLink);
[view addLabel:base::SysUTF16ToNSString(messageText)
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698