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

Issue 92453002: [PDF] Fixes the cases where SkPDFDevice::finishContentEntry is called with empty content. (Closed)

Created:
7 years ago by vandebo (ex-Chrome)
Modified:
7 years ago
Reviewers:
bungeman-skia, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -20 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M gm/xfermodes.cpp View 1 6 chunks +16 lines, -5 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 5 chunks +41 lines, -15 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
vandebo (ex-Chrome)
7 years ago (2013-11-27 19:43:16 UTC) #1
reed1
Thanks for starting on this. Looks like a bit of code. Can we write a ...
7 years ago (2013-11-27 20:08:41 UTC) #2
vandebo (ex-Chrome)
On 2013/11/27 20:08:41, reed1 wrote: > Thanks for starting on this. > > Looks like ...
7 years ago (2013-11-27 22:33:59 UTC) #3
vandebo (ex-Chrome)
ping
7 years ago (2013-12-03 15:59:42 UTC) #4
bungeman-skia
lgtm You may wish to update the description to BUG=skia:1868. Not sure that rietveld does ...
7 years ago (2013-12-03 16:11:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/vandebo@chromium.org/92453002/20001
7 years ago (2013-12-03 20:48:09 UTC) #6
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-03 20:48:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/vandebo@chromium.org/92453002/40001
7 years ago (2013-12-03 20:56:09 UTC) #8
commit-bot: I haz the power
7 years ago (2013-12-03 21:08:48 UTC) #9
Message was sent while issue was closed.
Change committed as 12473

Powered by Google App Engine
This is Rietveld 408576698