| Index: ui/gfx/render_text_mac.mm
|
| diff --git a/ui/gfx/render_text_mac.mm b/ui/gfx/render_text_mac.mm
|
| index 4e863a6bc9b2e2b12894fc12b9854a15eb18b392..d9a73fa160688269aacee8efd6026a4aa6211659 100644
|
| --- a/ui/gfx/render_text_mac.mm
|
| +++ b/ui/gfx/render_text_mac.mm
|
| @@ -313,7 +313,7 @@ base::ScopedCFTypeRef<CFMutableArrayRef> RenderTextMac::ApplyStyles(
|
| end = TextIndexToGivenTextIndex(text, style.GetRange().end());
|
| const CFRange range = CFRangeMake(i, end - i);
|
| base::ScopedCFTypeRef<CGColorRef> foreground(
|
| - CGColorCreateFromSkColor(style.color()));
|
| + skia::CGColorCreateFromSkColor(style.color()));
|
| CFAttributedStringSetAttribute(attr_string, range,
|
| kCTForegroundColorAttributeName, foreground);
|
| CFArrayAppendValue(attributes, foreground);
|
| @@ -417,7 +417,7 @@ void RenderTextMac::ComputeRuns() {
|
| const CGColorRef foreground = base::mac::GetValueFromDictionary<CGColorRef>(
|
| attributes, kCTForegroundColorAttributeName);
|
| if (foreground)
|
| - run->foreground = CGColorRefToSkColor(foreground);
|
| + run->foreground = skia::CGColorRefToSkColor(foreground);
|
|
|
| const CFNumberRef underline =
|
| base::mac::GetValueFromDictionary<CFNumberRef>(
|
|
|