Changeset 147497 in webkit


Ignore:
Timestamp:
Apr 2, 2013 2:21:33 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] API update for IntRect
https://bugs.webkit.org/show_bug.cgi?id=113824

Patch by Maxim Mogilnitsky <mmogilnitsky@rim.com> on 2013-04-02
Reviewed by Rob Buis.

Modifing IntRect and FloatRect API.

  • WebKitSupport/SelectionHandler.cpp:

(BlackBerry::WebKit::SelectionHandler::regionForTextQuads):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r147467 r147497  
     12013-04-02  Maxim Mogilnitsky  <mmogilnitsky@rim.com>
     2
     3        [BlackBerry] API update for IntRect
     4        https://bugs.webkit.org/show_bug.cgi?id=113824
     5
     6        Reviewed by Rob Buis.
     7
     8        Modifing IntRect and FloatRect API.
     9
     10        * WebKitSupport/SelectionHandler.cpp:
     11        (BlackBerry::WebKit::SelectionHandler::regionForTextQuads):
     12
    1132013-04-02  Nima Ghanavatian  <nghanavatian@blackberry.com>
    214
  • trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp

    r147467 r147497  
    159159
    160160            adjustedIntRects.push_back(enclosingRect);
    161             selectionBoundingBox = unionOfRects(enclosingRect, selectionBoundingBox);
     161            selectionBoundingBox.unite(enclosingRect);
    162162        }
    163163        region = IntRectRegion(selectionBoundingBox, adjustedIntRects.size(), adjustedIntRects);
Note: See TracChangeset for help on using the changeset viewer.