Changeset 158099 in webkit
- Timestamp:
- Oct 27, 2013, 5:17:44 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r158098 r158099 1 2013-10-27 Andreas Kling <akling@apple.com> 2 3 Tone down overzealous assertion from r158097. 4 5 RenderElement::initializeStyle() really only cares that there are no 6 text renderers that we should be calling styleDidChange() on. 7 8 Tweak the code to only check that there are no text children. 9 10 * rendering/RenderElement.cpp: 11 (WebCore::RenderElement::initializeStyle): 12 1 13 2013-10-27 Antti Koivisto <antti@apple.com> 2 14 -
trunk/Source/WebCore/rendering/RenderElement.cpp
r158097 r158099 373 373 styleDidChange(StyleDifferenceEqual, nullptr); 374 374 375 // We shouldn't have any text (or other) children that need styleDidChange at this point. 376 ASSERT(!firstChild()); 375 #if !ASSERT_DISABLED 376 // We shouldn't have any text children that would need styleDidChange at this point. 377 for (RenderObject* child = firstChild(); child; child = child->nextSibling()) 378 ASSERT(!child->isText()); 379 #endif 377 380 378 381 // It would be nice to assert that !parent() here, but some RenderLayer subrenderers
Note:
See TracChangeset
for help on using the changeset viewer.