Index: content/common/font_descriptor_mac.h |
diff --git a/content/common/font_descriptor_mac.h b/content/common/font_descriptor_mac.h |
index 91bb338f2d129832419f6f63cd9742a6b798b785..c3ac5a8077d3177be458141f031ff51a8c29c03a 100644 |
--- a/content/common/font_descriptor_mac.h |
+++ b/content/common/font_descriptor_mac.h |
@@ -17,11 +17,12 @@ class NSFont; |
// Container to allow serializing an NSFont over IPC. |
struct FontDescriptor { |
explicit FontDescriptor(NSFont* font); |
+ FontDescriptor(string16 name, float size); |
FontDescriptor() : font_point_size(0) {} |
// Return an autoreleased NSFont corresponding to the font description. |
- NSFont* nsFont() const; |
+ NSFont* ToNSFont() const; |
// Name of the font. |
string16 font_name; |