diff options
author | Mike Reed <reed@google.com> | 2017-02-21 13:15:07 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-21 18:54:12 +0000 |
commit | f0fb92985ccbbfbe351d1e3969d784a067a68bf7 (patch) | |
tree | 6d5ac3d6d99c815e880c6da89b15416e4897c572 /src/pdf/SkPDFDevice.h | |
parent | fd98b5ee76d3624f6fdc4bf728ba1d9c6f8b721c (diff) |
move PDFDevice over to cipstackdevice
BUG=skia:6214
Change-Id: I3fc5d49e9197ecff9d83ac50f24a67cccd99a092
Reviewed-on: https://skia-review.googlesource.com/8803
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/pdf/SkPDFDevice.h')
-rw-r--r-- | src/pdf/SkPDFDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |