Chromium Code Reviews| Index: printing/image.cc |
| diff --git a/printing/image.cc b/printing/image.cc |
| index a0376bb048c6e79061cd34ec67755d82e6eaa894..68faf9775ebad8349803e33ff1eda7ef8a259c95 100644 |
| --- a/printing/image.cc |
| +++ b/printing/image.cc |
| @@ -152,7 +152,7 @@ bool Image::LoadPng(const std::string& compressed) { |
| bool Image::LoadMetafile(const std::string& data) { |
|
Lei Zhang
2016/06/14 18:02:19
Looks like this is gone now with r399738 landed.
|
| DCHECK(!data.empty()); |
| - PdfMetafileSkia metafile; |
| + PdfMetafileSkia metafile(PDF_SKIA_DOCUMENT_TYPE); |
| if (!metafile.InitFromData(data.data(), |
| base::checked_cast<uint32_t>(data.size()))) |
| return false; |