Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: sky/engine/core/rendering/line/BreakingContextInlineHeaders.h

Issue 938193004: Remove dead position:relative code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/rendering/line/BreakingContextInlineHeaders.h
diff --git a/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h b/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h
index 91796be46bf2e01f107ac71bb368259201540d5e..6a9beb4b43a81f1c5ae9e11839f60ab7ad0b2da0 100644
--- a/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h
+++ b/sky/engine/core/rendering/line/BreakingContextInlineHeaders.h
@@ -198,10 +198,6 @@ inline void setStaticPositions(RenderBlockFlow* block, RenderBox* child)
// inline so that we can obtain the value later.
toRenderInline(containerBlock)->layer()->setStaticInlinePosition(block->startAlignedOffsetForLine(false));
toRenderInline(containerBlock)->layer()->setStaticBlockPosition(blockHeight);
-
- // If |child| is a leading or trailing positioned object this is its only opportunity to ensure it moves with an inline
- // container changing width.
- child->moveWithEdgeOfInlineContainerIfNecessary();
}
block->updateStaticInlinePositionForChild(child);
child->layer()->setStaticBlockPosition(blockHeight);
« sky/engine/core/rendering/LayoutState.cpp ('K') | « sky/engine/core/rendering/RenderObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698