[Webkit-unassigned] [Bug 100960] New: [BlackBerry] Use clipped background rect in backing store

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 1 08:34:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100960

           Summary: [BlackBerry] Use clipped background rect in backing
                    store
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit BlackBerry
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leoyang at rim.com


1190 void BackingStorePrivate::paintDefaultBackground(const Platform::IntRect& dstRect, Platform::ViewportAccessor* viewportAccessor, bool flush)
1191 {
1192     Platform::IntRect clippedDstRect = dstRect;
1193 
1194     // Because of rounding it is possible that overScrollRect could be off-by-one larger
1195     // than the surface size of the window. We prevent this here, by clamping
1196     // it to ensure that can't happen.
1197     clippedDstRect.intersect(Platform::IntRect(Platform::IntPoint(0, 0), surfaceSize()));
1198 
1199     if (clippedDstRect.isEmpty())
1200         return;
1201 
1202     // We have to paint the default background in the case of overzoom and
1203     // make sure it is invalidated.
1204     const Platform::IntRect pixelContentsRect = viewportAccessor->pixelContentsRect();
1205     Platform::IntRectRegion overScrollRegion = Platform::IntRectRegion::subtractRegions(
1206         dstRect, viewportAccessor->pixelViewportFromContents(pixelContentsRect));

In line 1206 it is wrongly using unclipped back ground destination rect which cause platform code ASSERT.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list