Changeset 157388 in webkit for trunk/Source/WebCore/rendering/RenderInline.cpp
- Timestamp:
- Oct 14, 2013, 12:58:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderInline.cpp
r157367 r157388 139 139 } 140 140 141 static Render Object* inFlowPositionedInlineAncestor(RenderObject* p)141 static RenderElement* inFlowPositionedInlineAncestor(RenderElement* p) 142 142 { 143 143 while (p && p->isRenderInline()) { … … 317 317 // If inside an inline affected by in-flow positioning the block needs to be affected by it too. 318 318 // Giving the block a layer like this allows it to collect the x/y offsets from inline parents later. 319 if ( RenderObject*positionedAncestor = inFlowPositionedInlineAncestor(this))319 if (auto positionedAncestor = inFlowPositionedInlineAncestor(this)) 320 320 newStyle->setPosition(positionedAncestor->style()->position()); 321 321
Note:
See TracChangeset
for help on using the changeset viewer.