Bug 52918 - DrawingAreaProxyImpl::paint should return the unpainted region
Summary: DrawingAreaProxyImpl::paint should return the unpainted region
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 14:02 PST by Anders Carlsson
Modified: 2011-01-21 14:09 PST (History)
0 users

See Also:


Attachments
Patch (4.30 KB, patch)
2011-01-21 14:04 PST, Anders Carlsson
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2011-01-21 14:02:51 PST
DrawingAreaProxyImpl::paint should return the unpainted region
Comment 1 Anders Carlsson 2011-01-21 14:04:07 PST
Created attachment 79789 [details]
Patch
Comment 2 mitz 2011-01-21 14:06:23 PST
Comment on attachment 79789 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=79789&action=review

> Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp:65
> +    unpaintedRegion.subtract(IntRect(0, 0, m_backingStore->size().width(), m_backingStore->size().height()));

This is better written as IntRect(IntPoint(), m_backingStore.size())
Comment 3 Anders Carlsson 2011-01-21 14:09:24 PST
Committed r76393: <http://trac.webkit.org/changeset/76393>