[webkit-reviews] review granted: [Bug 85392] Fix usage of layout types in platform code : [Attachment 139843] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 2 11:45:30 PDT 2012

Eric Seidel <eric at webkit.org> has granted Emil A Eklund <eae at chromium.org>'s
request for review:
Bug 85392: Fix usage of layout types in platform code

Attachment 139843: Patch

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

> Source/WebKit2/WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:552
> +    return

Longest line ever. :)  I'm surprised the FloatRect() constructor is needed for
this.  Maybe even the FloatQuad() one is implicit too?

> Source/WebKit/chromium/src/WebHitTestResult.cpp:50
> +    return WebPoint(roundedIntPoint(m_private->localPoint()));

Does WebPoint not implicitly construct from IntPoint?

> Source/WebKit/chromium/src/WebSurroundingText.cpp:49
> +    VisiblePosition

Does .flooredPoint() not exist?  static_cast seems like an odd way to do this.

More information about the webkit-reviews mailing list