Index: content/renderer/pepper/pepper_plugin_instance_impl.cc |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
index 558531afa3fb776a2feafe42556e6cfb4960cdde..b18b86c66c89bbeed174de3c585b6db3dd99a866 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -1835,10 +1835,10 @@ void PepperPluginInstanceImpl::PrintPage(int page_number, |
page_range.first_page_number = page_range.last_page_number = page_number; |
// The canvas only has a metafile on it for print preview. |
printing::PdfMetafileSkia* metafile = |
- printing::MetafileSkiaWrapper::GetMetafileFromCanvas(*canvas); |
+ printing::MetafileSkiaWrapper::GetMetafileFromCanvas(canvas); |
bool save_for_later = (metafile != NULL); |
#if defined(OS_MACOSX) |
- save_for_later = save_for_later && skia::IsPreviewMetafile(*canvas); |
+ save_for_later = save_for_later && cc::IsPreviewMetafile(canvas); |
#endif // defined(OS_MACOSX) |
if (save_for_later) { |
ranges_.push_back(page_range); |