| Index: src/pdf/SkPDFPage.h
|
| diff --git a/src/pdf/SkPDFPage.h b/src/pdf/SkPDFPage.h
|
| index 38cc5c45e59bb2e23f63222639a87a57b0636757..99a913441b2a2512b48b50fc85b8d04a32d96cab 100644
|
| --- a/src/pdf/SkPDFPage.h
|
| +++ b/src/pdf/SkPDFPage.h
|
| @@ -31,7 +31,7 @@ public:
|
| * have content on it yet.
|
| * @param content The page content.
|
| */
|
| - explicit SkPDFPage(SkPDFDevice* content);
|
| + explicit SkPDFPage(const SkPDFDevice* content);
|
| ~SkPDFPage();
|
|
|
| /** Before a page and its contents can be sized and emitted, it must
|
| @@ -86,7 +86,7 @@ public:
|
|
|
| private:
|
| // Multiple pages may reference the content.
|
| - SkAutoTUnref<SkPDFDevice> fDevice;
|
| + SkAutoTUnref<const SkPDFDevice> fDevice;
|
|
|
| // Once the content is finalized, put it into a stream for output.
|
| SkAutoTUnref<SkPDFStream> fContentStream;
|
|
|