Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2252)

Unified Diff: printing/emf_win.h

Issue 1115293002: win: Fix remaining plugin warnings in ash, device, printing, sandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win.cc ('k') | printing/emf_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win.cc ('k') | printing/emf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698