Changeset 112248 in webkit


Ignore:
Timestamp:
Mar 27, 2012 3:52:49 AM (12 years ago)
Author:
leviw@chromium.org
Message:

Convert RenderSelectionInfo::rect to LayoutUnits
https://bugs.webkit.org/show_bug.cgi?id=82213

Reviewed by Eric Seidel.

RenderSelectionInfoBase stores a cached repaint rect in local coordinates. Coordinates local to
renderers should be stored in LayoutUnits.

No new tests. No change in behavior.

  • rendering/RenderSelectionInfo.h:

(WebCore::RenderSelectionInfo::rect):
(RenderSelectionInfo):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112247 r112248  
     12012-03-26  Levi Weintraub  <leviw@chromium.org>
     2
     3        Convert RenderSelectionInfo::rect to LayoutUnits
     4        https://bugs.webkit.org/show_bug.cgi?id=82213
     5
     6        Reviewed by Eric Seidel.
     7
     8        RenderSelectionInfoBase stores a cached repaint rect in local coordinates. Coordinates local to
     9        renderers should be stored in LayoutUnits.
     10
     11        No new tests. No change in behavior.
     12
     13        * rendering/RenderSelectionInfo.h:
     14        (WebCore::RenderSelectionInfo::rect):
     15        (RenderSelectionInfo):
     16
     17<<<<<<< .mine
     182012-03-26  Levi Weintraub  <leviw@chromium.org>
     19
     20        Convert RenderSelectionInfo::rect to LayoutUnits
     21        https://bugs.webkit.org/show_bug.cgi?id=82213
     22
     23        Reviewed by Eric Seidel.
     24
     25        RenderSelectionInfoBase stores a cached repaint rect in local coordinates. Coordinates
     26        local to renderers should be stored in LayoutUnits as described in
     27        http://trac.webkit.org/wiki/LayoutUnit
     28
     29        No new tests. No change in behavior.
     30
     31        * rendering/RenderSelectionInfo.h:
     32        (WebCore::RenderSelectionInfo::rect):
     33        (RenderSelectionInfo):
     34
     35=======
    1362012-03-27  Nikolas Zimmermann  <nzimmermann@rim.com>
    237
     
    5691        (CachedXSLStyleSheet):
    5792
     93>>>>>>> .r112247
    58942012-03-27  Levi Weintraub  <leviw@chromium.org>
    5995
  • trunk/Source/WebCore/rendering/RenderSelectionInfo.h

    r111899 r112248  
    7272    }
    7373
    74     IntRect rect() const { return m_rect; }
     74    LayoutRect rect() const { return m_rect; }
    7575
    7676private:
    77     IntRect m_rect; // relative to repaint container
     77    LayoutRect m_rect; // relative to repaint container
    7878};
    7979
Note: See TracChangeset for help on using the changeset viewer.