Changeset 90064 in webkit
- Timestamp:
- Jun 29, 2011 4:45:52 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r90062 r90064 1 2011-06-29 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION(r89952): r89952 added a wrong assertion in visible_units.cpp 6 https://bugs.webkit.org/show_bug.cgi?id=63668 7 8 We need to assert the offset to be zero only when the position is NOT offset in node. 9 10 * editing/visible_units.cpp: 11 (WebCore::startOfParagraph): 12 1 13 2011-06-29 Brent Fulgham <bfulgham@webkit.org> 2 14 -
trunk/Source/WebCore/editing/visible_units.cpp
r89952 r90064 819 819 820 820 if (type == Position::PositionIsOffsetInAnchor) { 821 ASSERT(type != Position::PositionIsOffsetInAnchor || !offset);821 ASSERT(type == Position::PositionIsOffsetInAnchor || !offset); 822 822 return VisiblePosition(Position(node, offset, type), DOWNSTREAM); 823 823 }
Note: See TracChangeset
for help on using the changeset viewer.