| Index: printing/metafile_skia_wrapper.h
|
| diff --git a/printing/metafile_skia_wrapper.h b/printing/metafile_skia_wrapper.h
|
| index 42bbc5f9f69aae88c5ddc77e8e7555656cb29d57..fdf5f751f1ae74e13a6d4251c997b61e102e1d82 100644
|
| --- a/printing/metafile_skia_wrapper.h
|
| +++ b/printing/metafile_skia_wrapper.h
|
| @@ -12,26 +12,27 @@ class SkCanvas;
|
|
|
| namespace printing {
|
|
|
| -class Metafile;
|
| +class PdfMetafileSkia;
|
|
|
| -// A wrapper class with static methods to set and retrieve a Metafile
|
| +// A wrapper class with static methods to set and retrieve a PdfMetafileSkia
|
| // on an SkCanvas. The ownership of the metafile is not affected and it
|
| // is the caller's responsibility to ensure that the metafile remains valid
|
| // as long as the canvas.
|
| class PRINTING_EXPORT MetafileSkiaWrapper : public SkRefCnt {
|
| public:
|
| - static void SetMetafileOnCanvas(const SkCanvas& canvas, Metafile* metafile);
|
| + static void SetMetafileOnCanvas(const SkCanvas& canvas,
|
| + PdfMetafileSkia* metafile);
|
|
|
| - static Metafile* GetMetafileFromCanvas(const SkCanvas& canvas);
|
| + 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(Metafile* metafile);
|
| + explicit MetafileSkiaWrapper(PdfMetafileSkia* metafile);
|
|
|
| - Metafile* metafile_;
|
| + PdfMetafileSkia* metafile_;
|
| };
|
|
|
| } // namespace printing
|
|
|