From f0fb92985ccbbfbe351d1e3969d784a067a68bf7 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Tue, 21 Feb 2017 13:15:07 -0500 Subject: move PDFDevice over to cipstackdevice BUG=skia:6214 Change-Id: I3fc5d49e9197ecff9d83ac50f24a67cccd99a092 Reviewed-on: https://skia-review.googlesource.com/8803 Reviewed-by: Mike Reed Commit-Queue: Mike Reed --- src/pdf/SkPDFDevice.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pdf/SkPDFDevice.h') diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h index d8e26c5000..14e4db66ec 100644 --- a/src/pdf/SkPDFDevice.h +++ b/src/pdf/SkPDFDevice.h @@ -11,8 +11,8 @@ #include "SkBitmap.h" #include "SkCanvas.h" #include "SkClipStack.h" +#include "SkClipStackDevice.h" #include "SkData.h" -#include "SkDevice.h" #include "SkPaint.h" #include "SkRect.h" #include "SkRefCnt.h" @@ -37,7 +37,7 @@ class SkRRect; The drawing context for the PDF backend. */ -class SkPDFDevice final : public SkBaseDevice { +class SkPDFDevice final : public SkClipStackDevice { public: /** Create a PDF drawing context. SkPDFDevice applies a * scale-and-translate transform to move the origin from the @@ -292,7 +292,7 @@ private: void handlePointAnnotation(const SkPoint&, const SkMatrix&, const char key[], SkData* value); void handlePathAnnotation(const SkPath&, const SkDraw& d, const char key[], SkData* value); - typedef SkBaseDevice INHERITED; + typedef SkClipStackDevice INHERITED; // TODO(edisonn): Only SkDocument_PDF and SkPDFImageShader should be able to create // an SkPDFDevice -- cgit v1.2.3