| Index: ppapi/cpp/dev/font_dev.cc
|
| ===================================================================
|
| --- ppapi/cpp/dev/font_dev.cc (revision 85766)
|
| +++ ppapi/cpp/dev/font_dev.cc (working copy)
|
| @@ -118,6 +118,15 @@
|
| return *this;
|
| }
|
|
|
| +// static
|
| +Var Font_Dev::GetFontFamilies(Instance* instance) {
|
| + if (!has_interface<PPB_Font_Dev>())
|
| + return Var();
|
| + return Var(Var::PassRef(),
|
| + get_interface<PPB_Font_Dev>()->GetFontFamilies(
|
| + instance->pp_instance()));
|
| +}
|
| +
|
| bool Font_Dev::Describe(FontDescription_Dev* description,
|
| PP_FontMetrics_Dev* metrics) const {
|
| if (!has_interface<PPB_Font_Dev>())
|
|
|