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

Unified Diff: src/utils/SkMultiPictureDocumentReader.h

Issue 2255333003: SkMultiSKP: version 2 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-19 (Friday) 13:01:35 EDT Created 4 years, 4 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: src/utils/SkMultiPictureDocumentReader.h
diff --git a/src/utils/SkMultiPictureDocumentReader.h b/src/utils/SkMultiPictureDocumentReader.h
index 8e0a630e52e3c66f3942d12d4b53259269d1ae58..de70f73d830ea301c371c2fdf8ac98568e50d328 100644
--- a/src/utils/SkMultiPictureDocumentReader.h
+++ b/src/utils/SkMultiPictureDocumentReader.h
@@ -22,7 +22,7 @@ public:
/** Return to factory settings. */
void reset() {
fSizes.reset();
- fOffsets.reset();
+ fPages.reset();
}
/** Call this after calling init() */
tomhudson 2016/08/23 12:12:19 Does this mean "you must call this after calling i
hal.canary 2016/08/23 15:53:39 /** Call this after calling init() (otherwise you'
@@ -39,7 +39,8 @@ public:
private:
SkTArray<SkSize> fSizes;
- SkTArray<size_t> fOffsets;
+ size_t fOffset;
+ mutable SkTArray<sk_sp<SkPicture>> fPages;
};
#endif // SkMultiPictureDocumentReader_DEFINED

Powered by Google App Engine
This is Rietveld 408576698