Index: ui/gfx/platform_font_mac.mm |
diff --git a/ui/gfx/platform_font_mac.mm b/ui/gfx/platform_font_mac.mm |
index 53e3013170cba2145ca693431bc17d1cc89562d3..4db4baddd82fbf6cc49635ab317a22d4928aeb56 100644 |
--- a/ui/gfx/platform_font_mac.mm |
+++ b/ui/gfx/platform_font_mac.mm |
@@ -12,6 +12,7 @@ |
#include "base/strings/utf_string_conversions.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/font.h" |
+#include "ui/gfx/font_render_params.h" |
namespace gfx { |
@@ -125,6 +126,12 @@ int PlatformFontMac::GetFontSize() const { |
return font_size_; |
} |
+const FontRenderParams& PlatformFontMac::GetFontRenderParams() const { |
+ NOTIMPLEMENTED(); |
+ static FontRenderParams params; |
+ return params; |
+} |
+ |
NativeFont PlatformFontMac::GetNativeFont() const { |
return [[native_font_.get() retain] autorelease]; |
} |