Changeset 157222 in webkit for trunk/Source/WebCore/rendering/RenderElement.cpp
- Timestamp:
- Oct 10, 2013, 6:55:29 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderElement.cpp
r156876 r157222 55 55 #include "SVGRenderSupport.h" 56 56 #include "StyleResolver.h" 57 #include <wtf/StackStats.h> 57 58 58 59 #if USE(ACCELERATED_COMPOSITING) … … 1073 1074 } 1074 1075 1075 } 1076 void RenderElement::layout() 1077 { 1078 StackStats::LayoutCheckPoint layoutCheckPoint; 1079 ASSERT(needsLayout()); 1080 RenderObject* child = firstChild(); 1081 while (child) { 1082 if (child->needsLayout()) 1083 toRenderElement(child)->layout(); 1084 ASSERT(!child->needsLayout()); 1085 child = child->nextSibling(); 1086 } 1087 clearNeedsLayout(); 1088 } 1089 1090 }
Note:
See TracChangeset
for help on using the changeset viewer.