Index: webkit/glue/plugins/pepper_font.cc |
diff --git a/webkit/glue/plugins/pepper_font.cc b/webkit/glue/plugins/pepper_font.cc |
index f871e69b03b4e99c87a59321ea2fdea15a0dc6a9..5d841aa80e592f634d356ae4f74d44c33e09916e 100644 |
--- a/webkit/glue/plugins/pepper_font.cc |
+++ b/webkit/glue/plugins/pepper_font.cc |
@@ -199,6 +199,10 @@ const PPB_Font_Dev* Font::GetInterface() { |
return &ppb_font; |
} |
+Font* Font::AsFont() { |
+ return this; |
+} |
+ |
bool Font::Describe(PP_FontDescription_Dev* description, |
PP_FontMetrics_Dev* metrics) { |
if (description->face.type != PP_VARTYPE_UNDEFINED) |