Title: [147497] trunk/Source/WebKit/blackberry
- Revision
- 147497
- Author
- [email protected]
- Date
- 2013-04-02 14:21:33 -0700 (Tue, 02 Apr 2013)
Log Message
[BlackBerry] API update for IntRect
https://bugs.webkit.org/show_bug.cgi?id=113824
Patch by Maxim Mogilnitsky <[email protected]> on 2013-04-02
Reviewed by Rob Buis.
Modifing IntRect and FloatRect API.
* WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::regionForTextQuads):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/ChangeLog (147496 => 147497)
--- trunk/Source/WebKit/blackberry/ChangeLog 2013-04-02 21:19:16 UTC (rev 147496)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2013-04-02 21:21:33 UTC (rev 147497)
@@ -1,3 +1,15 @@
+2013-04-02 Maxim Mogilnitsky <[email protected]>
+
+ [BlackBerry] API update for IntRect
+ https://bugs.webkit.org/show_bug.cgi?id=113824
+
+ Reviewed by Rob Buis.
+
+ Modifing IntRect and FloatRect API.
+
+ * WebKitSupport/SelectionHandler.cpp:
+ (BlackBerry::WebKit::SelectionHandler::regionForTextQuads):
+
2013-04-02 Nima Ghanavatian <[email protected]>
[BlackBerry] Create a selection from two points irregardless of the caret position.
Modified: trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp (147496 => 147497)
--- trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp 2013-04-02 21:19:16 UTC (rev 147496)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp 2013-04-02 21:21:33 UTC (rev 147497)
@@ -158,7 +158,7 @@
enclosingRect.intersect(clippingRect);
adjustedIntRects.push_back(enclosingRect);
- selectionBoundingBox = unionOfRects(enclosingRect, selectionBoundingBox);
+ selectionBoundingBox.unite(enclosingRect);
}
region = IntRectRegion(selectionBoundingBox, adjustedIntRects.size(), adjustedIntRects);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes