| Index: printing/metafile_skia_wrapper.h
|
| diff --git a/printing/metafile_skia_wrapper.h b/printing/metafile_skia_wrapper.h
|
| index 6236e85a4c4c5e372009b7c237b94c01648212eb..4bca57fd6af6b57a65bcad1afbeb1e572984b487 100644
|
| --- a/printing/metafile_skia_wrapper.h
|
| +++ b/printing/metafile_skia_wrapper.h
|
| @@ -5,11 +5,10 @@
|
| #ifndef PRINTING_METAFILE_SKIA_WRAPPER_H_
|
| #define PRINTING_METAFILE_SKIA_WRAPPER_H_
|
|
|
| +#include "cc/paint/paint_canvas.h"
|
| #include "printing/printing_export.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
|
|
| -class SkCanvas;
|
| -
|
| namespace printing {
|
|
|
| class PdfMetafileSkia;
|
| @@ -20,10 +19,10 @@ class PdfMetafileSkia;
|
| // as long as the canvas.
|
| class PRINTING_EXPORT MetafileSkiaWrapper : public SkRefCnt {
|
| public:
|
| - static void SetMetafileOnCanvas(const SkCanvas& canvas,
|
| + static void SetMetafileOnCanvas(cc::PaintCanvas* canvas,
|
| PdfMetafileSkia* metafile);
|
|
|
| - static PdfMetafileSkia* GetMetafileFromCanvas(const SkCanvas& canvas);
|
| + static PdfMetafileSkia* GetMetafileFromCanvas(cc::PaintCanvas* canvas);
|
|
|
| private:
|
| explicit MetafileSkiaWrapper(PdfMetafileSkia* metafile);
|
|
|