Changeset 152837 in webkit


Ignore:
Timestamp:
Jul 18, 2013 1:05:05 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[WK2] Replace getRect() to pixelSnappedBoundingBox().
https://bugs.webkit.org/show_bug.cgi?id=118588

Patch by Eunmi Lee <eunmi15.lee@samsung.com> 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):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r152835 r152837  
     12013-07-18  Eunmi Lee  <eunmi15.lee@samsung.com>
     2
     3        [WK2] Replace getRect() to pixelSnappedBoundingBox().
     4        https://bugs.webkit.org/show_bug.cgi?id=118588
     5
     6        Reviewed by Noam Rosenthal.
     7
     8        The Node::getRect() function was removed in the
     9        http://trac.webkit.org/changeset/128006, so use
     10        pixelSnappedBoundingBox() instead.
     11
     12        * WebProcess/WebPage/WebPage.cpp:
     13        (WebKit::WebPage::findZoomableAreaForPoint):
     14
    1152013-07-18  Dong-Gwan Kim  <donggwan.kim@samsung.com>
    216
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r152824 r152837  
    32203220        return;
    32213221
    3222     IntRect zoomableArea = node->getRect();
     3222    IntRect zoomableArea = node->pixelSnappedBoundingBox();
    32233223
    32243224    while (true) {
     
    32363236
    32373237        node = node->parentNode();
    3238         zoomableArea.unite(node->getRect());
     3238        zoomableArea.unite(node->pixelSnappedBoundingBox());
    32393239    }
    32403240
Note: See TracChangeset for help on using the changeset viewer.