DescriptionSimplify SkPdfTokenLooper behavior.
Instead of passing a pointer to a pointer to a NULL looper, which can
then be set to point to a new looper (which then must be looped and
deleted), pass a pointer to the current looper. Each function can then
create a looper based on the parent (on the stack) and call loop()
itself.
Remove setUp(). Now that there is a pointer to the parent at creation
time, there is no need for this function.
Modify the constructors to only provide ones that are needed.
Add documentation.
Remove PdfInlineImageLooper::done(), which is never used.
R=mtklein@google.com
Committed: https://code.google.com/p/skia/source/detail?r=12447
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 14
Patch Set 5 : respond to comments (explicit and unused parameter) #Patch Set 6 : Rebase #
Total comments: 2
Patch Set 7 : Respond to comment (FIXME) #
Messages
Total messages: 6 (0 generated)
|