| Index: chrome/renderer/pepper/ppb_pdf_impl.cc
|
| diff --git a/chrome/renderer/pepper/ppb_pdf_impl.cc b/chrome/renderer/pepper/ppb_pdf_impl.cc
|
| index 057d0a6143484bd0f4b97a5712344edd9df7ca6c..a8d4cb5319fcaa1e9186bc0af7fd268f6083171f 100644
|
| --- a/chrome/renderer/pepper/ppb_pdf_impl.cc
|
| +++ b/chrome/renderer/pepper/ppb_pdf_impl.cc
|
| @@ -167,7 +167,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(
|
| @@ -286,7 +286,7 @@ void HistogramPDFPageCount(int count) {
|
| void UserMetricsRecordAction(PP_Var action) {
|
| scoped_refptr<ppapi::StringVar> action_str(
|
| ppapi::StringVar::FromPPVar(action));
|
| - if (action_str)
|
| + if (action_str.get())
|
| RenderThread::Get()->RecordUserMetrics(action_str->value());
|
| }
|
|
|
| @@ -367,7 +367,7 @@ PP_Resource GetResourceImageForScale(PP_Instance instance_id,
|
| return 0;
|
| }
|
|
|
| - webkit::ppapi::ImageDataAutoMapper mapper(image_data);
|
| + webkit::ppapi::ImageDataAutoMapper mapper(image_data.get());
|
| if (!mapper.is_valid())
|
| return 0;
|
|
|
|
|