Index: chrome/browser/printing/pdf_to_emf_converter.cc |
diff --git a/chrome/browser/printing/pdf_to_emf_converter.cc b/chrome/browser/printing/pdf_to_emf_converter.cc |
index fed753aec6d525d7f8eaf1d95a27325708c6d478..09e4b665ade1aec0899a0106522afba2c1a8286b 100644 |
--- a/chrome/browser/printing/pdf_to_emf_converter.cc |
+++ b/chrome/browser/printing/pdf_to_emf_converter.cc |
@@ -9,6 +9,7 @@ |
#include <memory> |
#include <queue> |
#include <utility> |
+#include <vector> |
#include "base/files/file.h" |
#include "base/files/file_util.h" |
@@ -72,6 +73,7 @@ class LazyEmf : public MetafilePlayer { |
~LazyEmf() override { Close(); } |
bool SafePlayback(HDC hdc) const override; |
+ bool GetDataAsVector(std::vector<char>* buffer) const override; |
bool SaveTo(base::File* file) const override; |
private: |
@@ -258,6 +260,11 @@ bool LazyEmf::SafePlayback(HDC hdc) const { |
return result; |
} |
+bool LazyEmf::GetDataAsVector(std::vector<char>* buffer) const { |
+ NOTREACHED(); |
+ return false; |
+} |
+ |
bool LazyEmf::SaveTo(base::File* file) const { |
Emf emf; |
return LoadEmf(&emf) && emf.SaveTo(file); |