Changeset 88096 in webkit


Ignore:
Timestamp:
Jun 4, 2011 12:02:35 AM (13 years ago)
Author:
eae@chromium.org
Message:

2011-06-04 Emil A Eklund <eae@chromium.org>

Reviewed by Andreas Kling.

Fix IntRect::expand(const IntSize& size)
https://bugs.webkit.org/show_bug.cgi?id=62042

No new tests.

  • platform/graphics/IntRect.h: (WebCore::IntRect::expand): Fix IntRect::expand to expand the size rather than move the location. Currently unused.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r88091 r88096  
     12011-06-04  Emil A Eklund  <eae@chromium.org>
     2
     3        Reviewed by Andreas Kling.
     4
     5        Fix IntRect::expand(const IntSize& size)
     6        https://bugs.webkit.org/show_bug.cgi?id=62042
     7
     8        No new tests.
     9
     10        * platform/graphics/IntRect.h:
     11        (WebCore::IntRect::expand):
     12        Fix IntRect::expand to expand the size rather than move the location.
     13        Currently unused.
     14
    1152011-06-03  Alexey Proskuryakov  <ap@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/IntRect.h

    r87989 r88096  
    112112    void move(int dx, int dy) { m_location.move(dx, dy); }
    113113
    114     void expand(const IntSize& size) { m_location += size; }
     114    void expand(const IntSize& size) { m_size += size; }
    115115    void expand(int dw, int dh) { m_size.expand(dw, dh); }
    116116
Note: See TracChangeset for help on using the changeset viewer.