Bug 52918

Summary: DrawingAreaProxyImpl::paint should return the unpainted region
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch mitz: review+

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>