diff options
Diffstat (limited to 'ppapi/cpp/trusted/browser_font_trusted.cc')
-rw-r--r-- | ppapi/cpp/trusted/browser_font_trusted.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/cpp/trusted/browser_font_trusted.cc b/ppapi/cpp/trusted/browser_font_trusted.cc index 8bea86a..b9f2b0d 100644 --- a/ppapi/cpp/trusted/browser_font_trusted.cc +++ b/ppapi/cpp/trusted/browser_font_trusted.cc @@ -158,7 +158,7 @@ BrowserFont_Trusted& BrowserFont_Trusted::operator=( Var BrowserFont_Trusted::GetFontFamilies(Instance* instance) { if (!has_interface<PPB_Font_Dev>()) return Var(); - return Var(Var::PassRef(), + return Var(PASS_REF, get_interface<PPB_Font_Dev>()->GetFontFamilies( instance->pp_instance())); } @@ -179,7 +179,7 @@ bool BrowserFont_Trusted::Describe( BrowserFontMetricsToFontMetrics(metrics))) return false; } - description->face_ = Var(Var::PassRef(), + description->face_ = Var(PASS_REF, description->pp_font_description_.face); return true; } |