Description[PDF] Fixes the cases where SkPDFDevice::finishContentEntry is called with empty content.
There are some cases (like drawing a completely transparent image) where the code tries to finish a content entry with no content and an xfermode other than clear. This makes those cases work correctly.
This is likely what was happening in chromium:316546, but it wasn't clear what the core problem was. desk_techcrunch.skp tripped a debug only assert that exposed the core issue.
BUG=skia:1868, chromium:316546
Committed: http://code.google.com/p/skia/source/detail?r=12473
Patch Set 1 #Patch Set 2 : Add gm and fix another issue revealed by it #Patch Set 3 : Rebase #
Messages
Total messages: 9 (0 generated)
|