diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 06:21:43 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 06:21:43 +0000 |
commit | 5209d8e2e3fc95777a988503018781bd0c6f9ec2 (patch) | |
tree | 995ea052b0f6dfda09266b6a022d909b3404cb38 /printing/emf_win.h | |
parent | d03154499968cd317de9fc722ed2b39563bf3265 (diff) | |
download | chromium_src-5209d8e2e3fc95777a988503018781bd0c6f9ec2.zip chromium_src-5209d8e2e3fc95777a988503018781bd0c6f9ec2.tar.gz chromium_src-5209d8e2e3fc95777a988503018781bd0c6f9ec2.tar.bz2 |
Revert 78859 - Unfork VectorPlatformCanvas.
Unfork VectorPlatformCanvas by making NativeMetafile know how to create an appropriate VectorPlatformDevice. This will also be useful when we have multiple NativeMetafile implemenations (each requiring a different VectorPlatformDevices).
BUG=NONE
TEST=NONE
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78662
Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=78663
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78812
Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=78815
Review URL: http://codereview.chromium.org/6665046
TBR=vandebo@chromium.org
Review URL: http://codereview.chromium.org/6711067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78860 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/emf_win.h')
-rw-r--r-- | printing/emf_win.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/printing/emf_win.h b/printing/emf_win.h index f2ccffd..e3a0a8e 100644 --- a/printing/emf_win.h +++ b/printing/emf_win.h @@ -35,9 +35,6 @@ class Emf : public NativeMetafile { virtual bool Init() { return true; } virtual bool InitFromData(const void* src_buffer, uint32 src_buffer_size); - virtual skia::PlatformDevice* StartPageForVectorCanvas( - const gfx::Size& page_size, const gfx::Point& content_origin, - const float& scale_factor); // Inserts a custom GDICOMMENT records indicating StartPage/EndPage calls // (since StartPage and EndPage do not work in a metafile DC). Only valid // when hdc_ is non-NULL. |page_size| and |content_origin| are ignored. |