|
PDF: Canon now owns a reference to all interned objects
Add SkPDFCanon::reset function to unref all objects.
No longer possible to remove object from canon
Motivation: this doesn't change these object's lifetime, (they will
still be fully unrefed when SkDocument::close() is called, but we no
longer have to remove them from the array when their destructor is
called.
Committed: https://skia.googlesource.com/skia/+/2e3f9d8a9309686eeb4c76ccfde5800da87a68b3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+78 lines, -143 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
src/doc/SkDocument_PDF.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFBitmap.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFBitmap.cpp
|
View
|
1
2
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFCanon.h
|
View
|
1
|
2 chunks |
+9 lines, -20 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFCanon.cpp
|
View
|
1
|
7 chunks |
+22 lines, -47 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFFont.h
|
View
|
1
2
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFFont.cpp
|
View
|
1
2
|
9 chunks |
+16 lines, -22 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFFontImpl.h
|
View
|
1
2
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFGraphicState.h
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFGraphicState.cpp
|
View
|
1
2
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFShader.h
|
View
|
1
2
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
src/pdf/SkPDFShader.cpp
|
View
|
1
2
|
5 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
Total messages: 16 (5 generated)
|