Title: [152837] trunk/Source/WebKit2
- Revision
- 152837
- Author
- [email protected]
- Date
- 2013-07-18 01:05:05 -0700 (Thu, 18 Jul 2013)
Log Message
[WK2] Replace getRect() to pixelSnappedBoundingBox().
https://bugs.webkit.org/show_bug.cgi?id=118588
Patch by Eunmi Lee <[email protected]> on 2013-07-18
Reviewed by Noam Rosenthal.
The Node::getRect() function was removed in the
http://trac.webkit.org/changeset/128006, so use
pixelSnappedBoundingBox() instead.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::findZoomableAreaForPoint):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (152836 => 152837)
--- trunk/Source/WebKit2/ChangeLog 2013-07-18 08:04:30 UTC (rev 152836)
+++ trunk/Source/WebKit2/ChangeLog 2013-07-18 08:05:05 UTC (rev 152837)
@@ -1,3 +1,17 @@
+2013-07-18 Eunmi Lee <[email protected]>
+
+ [WK2] Replace getRect() to pixelSnappedBoundingBox().
+ https://bugs.webkit.org/show_bug.cgi?id=118588
+
+ Reviewed by Noam Rosenthal.
+
+ The Node::getRect() function was removed in the
+ http://trac.webkit.org/changeset/128006, so use
+ pixelSnappedBoundingBox() instead.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::findZoomableAreaForPoint):
+
2013-07-18 Dong-Gwan Kim <[email protected]>
[EFL][WK2] Replace mouseClick with more meaningful method in test_ewk2_context_menu.cpp
Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (152836 => 152837)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2013-07-18 08:04:30 UTC (rev 152836)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2013-07-18 08:05:05 UTC (rev 152837)
@@ -3219,7 +3219,7 @@
if (!node)
return;
- IntRect zoomableArea = node->getRect();
+ IntRect zoomableArea = node->pixelSnappedBoundingBox();
while (true) {
bool found = !node->isTextNode() && !node->isShadowRoot();
@@ -3235,7 +3235,7 @@
break;
node = node->parentNode();
- zoomableArea.unite(node->getRect());
+ zoomableArea.unite(node->pixelSnappedBoundingBox());
}
if (node->document() && node->document()->frame() && node->document()->frame()->view()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes