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

Unified Diff: printing/metafile_skia_wrapper.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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 | « ppapi/thunk/ppb_image_data_api.h ('k') | printing/metafile_skia_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/metafile_skia_wrapper.h
diff --git a/printing/metafile_skia_wrapper.h b/printing/metafile_skia_wrapper.h
index 6236e85a4c4c5e372009b7c237b94c01648212eb..850f7c1ec6d67eac71f246caa69b441366dc37bf 100644
--- a/printing/metafile_skia_wrapper.h
+++ b/printing/metafile_skia_wrapper.h
@@ -6,10 +6,9 @@
#define PRINTING_METAFILE_SKIA_WRAPPER_H_
#include "printing/printing_export.h"
+#include "skia/ext/cdl_common.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(const CdlCanvas& canvas,
PdfMetafileSkia* metafile);
- static PdfMetafileSkia* GetMetafileFromCanvas(const SkCanvas& canvas);
+ static PdfMetafileSkia* GetMetafileFromCanvas(const CdlCanvas& canvas);
private:
explicit MetafileSkiaWrapper(PdfMetafileSkia* metafile);
« no previous file with comments | « ppapi/thunk/ppb_image_data_api.h ('k') | printing/metafile_skia_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698