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

Unified Diff: ui/gfx/platform_font_ios.mm

Issue 16051006: ui/gfx: Use base::string16 now that string16 was moved into base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 | « ui/gfx/platform_font_ios.h ('k') | ui/gfx/platform_font_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/platform_font_ios.mm
diff --git a/ui/gfx/platform_font_ios.mm b/ui/gfx/platform_font_ios.mm
index f0f559de51cb2eacbb66683782b60db5a9643738..cfc69cf4964bfa0b6573220e203300c672a22273 100644
--- a/ui/gfx/platform_font_ios.mm
+++ b/ui/gfx/platform_font_ios.mm
@@ -55,7 +55,7 @@ int PlatformFontIOS::GetAverageCharacterWidth() const {
return average_width_;
}
-int PlatformFontIOS::GetStringWidth(const string16& text) const {
+int PlatformFontIOS::GetStringWidth(const base::string16& text) const {
NSString* ns_text = base::SysUTF16ToNSString(text);
return [ns_text sizeWithFont:GetNativeFont()].width;
}
« no previous file with comments | « ui/gfx/platform_font_ios.h ('k') | ui/gfx/platform_font_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698