[webkit-reviews] review granted: [Bug 61874] Switch paintScrollCorner to use IntPoint : [Attachment 95638] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 12:26:42 PDT 2011


Eric Seidel <eric at webkit.org> has granted Levi Weintraub <leviw at chromium.org>'s
request for review:
Bug 61874: Switch paintScrollCorner to use IntPoint
https://bugs.webkit.org/show_bug.cgi?id=61874

Attachment 95638: Patch
https://bugs.webkit.org/attachment.cgi?id=95638&action=review

------- Additional Comments from Eric Seidel <eric at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=95638&action=review

OK.

> Source/WebCore/rendering/RenderLayer.cpp:2338
> +    IntRect absRect = IntRect(cornerRect.x() + paintOffset.x(),
cornerRect.y() + paintOffset.y(), cornerRect.width(), cornerRect.height());

This might be simpler as as IntRect absRect = cornerRect;
absRect.move(paintOffset)


More information about the webkit-reviews mailing list