Index: printing/emf_win.cc |
diff --git a/printing/emf_win.cc b/printing/emf_win.cc |
index 030d5203f402f95074c7f9cffd823cf52e00e77c..2afa1dde1abd2b0a97c64375ca17ab4851f2bdf1 100644 |
--- a/printing/emf_win.cc |
+++ b/printing/emf_win.cc |
@@ -246,6 +246,14 @@ gfx::Rect Emf::GetPageBounds(unsigned int page_number) const { |
header.rclBounds.bottom - header.rclBounds.top + 1); |
} |
+unsigned int Emf::GetPageCount() const { |
+ return 1; |
+} |
+ |
+HDC Emf::context() const { |
+ return hdc_; |
+} |
+ |
uint32 Emf::GetDataSize() const { |
DCHECK(emf_ && !hdc_); |
return GetEnhMetaFileBits(emf_, 0, NULL); |
@@ -472,6 +480,9 @@ Emf::Enumerator::Enumerator(const Emf& emf, HDC context, const RECT* rect) { |
DCHECK_EQ(context_.hdc, context); |
} |
+Emf::Enumerator::~Enumerator() { |
+} |
+ |
Emf::Enumerator::const_iterator Emf::Enumerator::begin() const { |
return items_.begin(); |
} |