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

Unified Diff: printing/emf_win.cc

Issue 697373004: Moved StartPageForVectorCanvas from Metafile to PdfMetafileSkia. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tue Nov 4 10:41:42 PST 2014 Created 6 years, 1 month 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 | « printing/emf_win.h ('k') | printing/metafile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/emf_win.cc
diff --git a/printing/emf_win.cc b/printing/emf_win.cc
index e959911484c5d9fc63043893fa807850951adcc7..24cccf7ee8507282fb2aae8a376d2f5b97eb31be 100644
--- a/printing/emf_win.cc
+++ b/printing/emf_win.cc
@@ -449,17 +449,6 @@ bool Emf::Record::SafePlayback(Emf::EnumerationContext* context) const {
return res;
}
-SkBaseDevice* Emf::StartPageForVectorCanvas(
- const gfx::Size& page_size, const gfx::Rect& content_area,
- const float& scale_factor) {
- if (!StartPage(page_size, content_area, scale_factor))
- return NULL;
-
- return skia::VectorPlatformDeviceEmf::CreateDevice(page_size.width(),
- page_size.height(),
- true, hdc_);
-}
-
bool Emf::StartPage(const gfx::Size& /*page_size*/,
const gfx::Rect& /*content_area*/,
const float& /*scale_factor*/) {
« no previous file with comments | « printing/emf_win.h ('k') | printing/metafile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698