Index: printing/emf_win.h |
diff --git a/printing/emf_win.h b/printing/emf_win.h |
index e3019884c388449274f895b0154d6e9249bd4ee9..dcdfd8c99a46fac5e8a55d5ceacbca9884779649 100644 |
--- a/printing/emf_win.h |
+++ b/printing/emf_win.h |
@@ -74,12 +74,8 @@ class PRINTING_EXPORT Emf : public Metafile { |
// Should be passed to Playback to keep the exact same size. |
gfx::Rect GetPageBounds(unsigned int page_number) const override; |
- unsigned int GetPageCount() const override { return 1; } |
- |
- HDC context() const override { |
- return hdc_; |
- } |
- |
+ unsigned int GetPageCount() const override; |
+ HDC context() const override; |
bool Playback(HDC hdc, const RECT* rect) const override; |
bool SafePlayback(HDC hdc) const override; |
@@ -163,6 +159,8 @@ class PRINTING_EXPORT Emf::Enumerator { |
// Warning: |emf| must be kept valid for the time this object is alive. |
Enumerator(const Emf& emf, HDC hdc, const RECT* rect); |
+ ~Enumerator(); |
+ |
// Retrieves the first Record. |
const_iterator begin() const; |