Bug 53149 - remove resize() check in DrawingBuffer
Summary: remove resize() check in DrawingBuffer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Mike Reed
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 17:21 PST by Mike Reed
Modified: 2011-01-25 18:13 PST (History)
3 users (show)

See Also:


Attachments
fix for issue (1.89 KB, patch)
2011-01-25 17:30 PST, Mike Reed
no flags Details | Formatted Diff | Diff
fix for issue (2.09 KB, patch)
2011-01-25 17:34 PST, Mike Reed
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Reed 2011-01-25 17:21:39 PST
DrawingBufer::reset() today checks if the new size is the same as its m_size, and if so, returns immediately. This does not match the semantics of <canvas>, which wants to clear its contents anytime the size is specified.
Comment 1 Mike Reed 2011-01-25 17:30:03 PST
Created attachment 80148 [details]
fix for issue
Comment 2 Mike Reed 2011-01-25 17:34:19 PST
Created attachment 80149 [details]
fix for issue
Comment 3 Mike Reed 2011-01-25 17:34:45 PST
uploaded new patch with more detail in ChangeLog
Comment 4 James Robinson 2011-01-25 17:35:40 PST
Comment on attachment 80149 [details]
fix for issue

Looks good! R=me
Comment 5 WebKit Commit Bot 2011-01-25 18:13:11 PST
The commit-queue encountered the following flaky tests while processing attachment 80149 [details]:

http/tests/xmlhttprequest/xmlhttprequest-50ms-download-dispatch.html bug 52016 (author: jchaffraix@webkit.org)
The commit-queue is continuing to process your patch.
Comment 6 WebKit Commit Bot 2011-01-25 18:13:52 PST
Comment on attachment 80149 [details]
fix for issue

Clearing flags on attachment: 80149

Committed r76658: <http://trac.webkit.org/changeset/76658>
Comment 7 WebKit Commit Bot 2011-01-25 18:13:56 PST
All reviewed patches have been landed.  Closing bug.