Title: [88096] trunk/Source/WebCore
- Revision
- 88096
- Author
- [email protected]
- Date
- 2011-06-04 00:02:35 -0700 (Sat, 04 Jun 2011)
Log Message
2011-06-04 Emil A Eklund <[email protected]>
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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (88095 => 88096)
--- trunk/Source/WebCore/ChangeLog 2011-06-04 06:45:34 UTC (rev 88095)
+++ trunk/Source/WebCore/ChangeLog 2011-06-04 07:02:35 UTC (rev 88096)
@@ -1,3 +1,17 @@
+2011-06-04 Emil A Eklund <[email protected]>
+
+ 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.
+
2011-06-03 Alexey Proskuryakov <[email protected]>
Reviewed by Darin Adler.
Modified: trunk/Source/WebCore/platform/graphics/IntRect.h (88095 => 88096)
--- trunk/Source/WebCore/platform/graphics/IntRect.h 2011-06-04 06:45:34 UTC (rev 88095)
+++ trunk/Source/WebCore/platform/graphics/IntRect.h 2011-06-04 07:02:35 UTC (rev 88096)
@@ -111,7 +111,7 @@
void moveBy(const IntPoint& offset) { m_location.move(offset.x(), offset.y()); }
void move(int dx, int dy) { m_location.move(dx, dy); }
- void expand(const IntSize& size) { m_location += size; }
+ void expand(const IntSize& size) { m_size += size; }
void expand(int dw, int dh) { m_size.expand(dw, dh); }
void shiftXEdgeTo(int edge)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes