| Index: components/pdf/renderer/ppb_pdf_impl.cc
|
| diff --git a/components/pdf/renderer/ppb_pdf_impl.cc b/components/pdf/renderer/ppb_pdf_impl.cc
|
| index abfc7f8f501a393f86d18884d7f75ee95b758634..3667c47722f9d3d98121d1000564d3bc10d48c7f 100644
|
| --- a/components/pdf/renderer/ppb_pdf_impl.cc
|
| +++ b/components/pdf/renderer/ppb_pdf_impl.cc
|
| @@ -82,7 +82,7 @@ PP_Resource GetFontFileWithFallback(
|
|
|
| scoped_refptr<ppapi::StringVar> face_name(
|
| ppapi::StringVar::FromPPVar(description->face));
|
| - if (!face_name)
|
| + if (!face_name.get())
|
| return 0;
|
|
|
| int fd = content::MatchFontWithFallback(
|
| @@ -209,7 +209,7 @@ void HistogramPDFPageCount(PP_Instance instance, int count) {
|
| void UserMetricsRecordAction(PP_Instance instance, PP_Var action) {
|
| scoped_refptr<ppapi::StringVar> action_str(
|
| ppapi::StringVar::FromPPVar(action));
|
| - if (action_str)
|
| + if (action_str.get())
|
| content::RenderThread::Get()->RecordComputedAction(action_str->value());
|
| }
|
|
|
|
|