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

Unified Diff: printing/metafile_skia_wrapper.h

Issue 641923002: Change PDF scaling factor from double to float. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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
Index: printing/metafile_skia_wrapper.h
diff --git a/printing/metafile_skia_wrapper.h b/printing/metafile_skia_wrapper.h
index fdf5f751f1ae74e13a6d4251c997b61e102e1d82..6236e85a4c4c5e372009b7c237b94c01648212eb 100644
--- a/printing/metafile_skia_wrapper.h
+++ b/printing/metafile_skia_wrapper.h
@@ -25,10 +25,6 @@ class PRINTING_EXPORT MetafileSkiaWrapper : public SkRefCnt {
static PdfMetafileSkia* GetMetafileFromCanvas(const SkCanvas& canvas);
- // Methods to set and retrieve custom scale factor for metafile from canvas.
- static void SetCustomScaleOnCanvas(const SkCanvas& canvas, double scale);
- static bool GetCustomScaleOnCanvas(const SkCanvas& canvas, double* scale);
-
private:
explicit MetafileSkiaWrapper(PdfMetafileSkia* metafile);

Powered by Google App Engine
This is Rietveld 408576698