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

Unified Diff: printing/metafile_skia_wrapper.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build Created 3 years, 11 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 6236e85a4c4c5e372009b7c237b94c01648212eb..32165b87e6a034917eb994204f4e9b193e8899d6 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(const cc::PaintCanvas& canvas,
PdfMetafileSkia* metafile);
- static PdfMetafileSkia* GetMetafileFromCanvas(const SkCanvas& canvas);
+ static PdfMetafileSkia* GetMetafileFromCanvas(const cc::PaintCanvas& canvas);
private:
explicit MetafileSkiaWrapper(PdfMetafileSkia* metafile);

Powered by Google App Engine
This is Rietveld 408576698