⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 107272 in webkit


Ignore:
Timestamp:
Feb 9, 2012, 12:11:48 PM (15 years ago)
Author:
eae@chromium.org
Message:

Fix usage of LayoutUnit in GestureTapHighlighter and update QT port to use explicit subpixel to platform types conversion.

Location:
branches/subpixellayout/Source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/subpixellayout/Source/WebCore/Target.pri

    r107142 r107272  
    27782778    platform/graphics/qt/FontQt.cpp \
    27792779    platform/graphics/qt/FontPlatformDataQt.cpp \
    2780     platform/graphics/qt/FixedPointQt.cpp \
    2781     platform/graphics/qt/FixedRectQt.cpp \
    2782     platform/graphics/qt/FixedSizeQt.cpp \
    27832780    platform/graphics/qt/FloatPointQt.cpp \
    27842781    platform/graphics/qt/FloatRectQt.cpp \
  • branches/subpixellayout/Source/WebCore/page/GestureTapHighlighter.cpp

    r106970 r107272  
    5656    Frame* mainFrame = containingFrame->page()->mainFrame();
    5757
    58     LayoutPoint mainFramePoint = mainFrame->view()->rootViewToContents(containingFrame->view()->contentsToRootView(LayoutPoint()));
     58    LayoutPoint mainFramePoint = mainFrame->view()->rootViewToContents(containingFrame->view()->contentsToRootView(IntPoint()));
    5959    return mainFramePoint;
    6060}
     
    9696inline void shiftXEdgesToContainIfStrikes(LayoutRect& rect, const LayoutRect& other)
    9797{
    98     int leftSide = rect.x();
    99     int rightSide = rect.maxX();
     98    LayoutUnit leftSide = rect.x();
     99    LayoutUnit rightSide = rect.maxX();
    100100
    101101    if (!other.isEmpty() && strikes(rect, other)) {
  • branches/subpixellayout/Source/WebKit/qt/Api/qwebelement.cpp

    r106970 r107272  
    552552    if (!m_element)
    553553        return QRect();
    554     return m_element->getRect();
     554    return FloatRect(m_element->getRect());
    555555}
    556556
Note: See TracChangeset for help on using the changeset viewer.