Summary: | [ChromiumWin] Font::drawComplexText calls EndPlatformPaint without calling BeginPlatformPaint | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Guillory <ctguil> | ||||||||
Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | brettw, commit-queue, darin, jamesr | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | PC | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Chris Guillory
2011-04-29 17:23:52 PDT
Created attachment 91771 [details]
Patch
Comment on attachment 91771 [details]
Patch
You might try webkit-patch upload for your next patch. It will automatically check the patch checkbox, etc. when uploading.
Comment on attachment 91771 [details]
Patch
OK. How do we test this? Recently there was a RIAA added for GraphicsContext::save/restore which helped get rid of a bunch of bugs like this in the cross-platofrm code.
Comment on attachment 91771 [details]
Patch
Seems we either need a test or an explanation of why testing is impossible in your ChangeLog. I don't think we can test printing with DumpRenderTree. So if printing is required to test this, automated testing may be impossible.
One way to "test" would be to have the non-printing case fail (in debug mode) when this bug occurs. I have a Chromium change out for review for that. http://codereview.chromium.org/6949012/ Created attachment 92675 [details]
Proposed Patch
Adding testing information.
Comment on attachment 92675 [details]
Proposed Patch
Patch needs to be updated to address errors uncovered by chromium change.
Created attachment 93030 [details]
Address issue uncovered by proposed Chromium test patch.
Adding testing information.
Comment on attachment 93030 [details]
Address issue uncovered by proposed Chromium test patch.
Hurray for testing!
Comment on attachment 93030 [details] Address issue uncovered by proposed Chromium test patch. Clearing flags on attachment: 93030 Committed r86199: <http://trac.webkit.org/changeset/86199> All reviewed patches have been landed. Closing bug. |