Changeset 143361 in webkit
- Timestamp:
- Feb 19, 2013 11:10:45 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r143357 r143361 1 2013-02-19 Morten Stenshorne <mstensho@opera.com> 2 3 Remove unnecessary (and problematic) copy-constructor from LayoutUnit 4 https://bugs.webkit.org/show_bug.cgi?id=110121 5 6 This copy constructor does what a default copy constructor would do, so 7 it's not necessary. Furthermore, this copy constructor is the only 8 reason why LayoutUnit becomes non-POD, and that triggers a gdb bug, 9 making it impossible to do things like "print location()" when inside 10 some RenderBlock, for instance. 11 12 Gdb bug http://sourceware.org/bugzilla/show_bug.cgi?id=15154 reported. 13 14 Reviewed by Benjamin Poulain. 15 16 No tests. Apart from dealing with buggy debuggers, this is just code cleanup. 17 18 * platform/LayoutUnit.h: 19 1 20 2013-02-19 Emil A Eklund <eae@chromium.org> 2 21 -
trunk/Source/WebCore/platform/LayoutUnit.h
r140192 r143361 117 117 LayoutUnit(double value) { REPORT_OVERFLOW(isInBounds(value)); m_value = value; } 118 118 #endif 119 LayoutUnit(const LayoutUnit& value) { m_value = value.rawValue(); }120 119 121 120 static LayoutUnit fromFloatCeil(float value)
Note: See TracChangeset
for help on using the changeset viewer.