| Index: experimental/PdfViewer/SkPdfGraphicsState.h
|
| ===================================================================
|
| --- experimental/PdfViewer/SkPdfGraphicsState.h (revision 10716)
|
| +++ experimental/PdfViewer/SkPdfGraphicsState.h (working copy)
|
| @@ -359,11 +359,12 @@
|
|
|
| // TODO(edisonn): better class design.
|
| // TODO(edisonn): rename to SkPdfContext
|
| -struct SkPdfContext {
|
| - std::stack<SkPdfNativeObject*> fObjectStack;
|
| +class SkPdfContext {
|
| +public:
|
| + std::stack<SkPdfNativeObject*> fObjectStack;
|
| std::stack<SkPdfGraphicsState> fStateStack;
|
| SkPdfGraphicsState fGraphicsState;
|
| - SkPdfNativeDoc* fPdfDoc;
|
| + SkPdfNativeDoc* fPdfDoc;
|
| // TODO(edisonn): the allocator, could be freed after the page is done drawing.
|
| SkPdfAllocator* fTmpPageAllocator;
|
| SkMatrix fOriginalMatrix;
|
|
|