Index: ppapi/proxy/ppb_font_proxy.cc |
=================================================================== |
--- ppapi/proxy/ppb_font_proxy.cc (revision 72880) |
+++ ppapi/proxy/ppb_font_proxy.cc (working copy) |
@@ -249,7 +249,7 @@ |
result->SetHostResource(instance, |
ppb_font_target()->Create(instance, &in_pp_desc)); |
- if (result->is_null()) { |
+ if (!result->is_null()) { |
// Get the metrics and resulting description to return to the browser. |
PP_FontMetrics_Dev metrics; |
if (ppb_font_target()->Describe(result->host_resource(), &out_pp_desc, |