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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp

Issue 2863933003: Remove the parameter of LayoutBox::XXXOverflowRectForPropagation() (Closed)
Patch Set: - Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/api/LineLayoutBox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
index 8522e467abc5153821f02689c3cafd215300ab21..b29697600454fc8084e3c18a6dccf8a9d188bf41 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
@@ -1138,8 +1138,7 @@ inline void InlineFlowBox::AddReplacedChildOverflow(
// be adjusted for writing-mode differences.
if (!box.HasSelfPaintingLayer()) {
LayoutRect child_logical_visual_overflow =
- box.LogicalVisualOverflowRectForPropagation(
- GetLineLayoutItem().StyleRef());
+ box.LogicalVisualOverflowRectForPropagation();
child_logical_visual_overflow.Move(inline_box->LogicalLeft(),
inline_box->LogicalTop());
logical_visual_overflow.Unite(child_logical_visual_overflow);
@@ -1150,8 +1149,7 @@ inline void InlineFlowBox::AddReplacedChildOverflow(
// as layout overflow. This rectangle must include transforms and relative
// positioning and be adjusted for writing-mode differences.
LayoutRect child_logical_layout_overflow =
- box.LogicalLayoutOverflowRectForPropagation(
- GetLineLayoutItem().StyleRef());
+ box.LogicalLayoutOverflowRectForPropagation();
child_logical_layout_overflow.Move(inline_box->LogicalLeft(),
inline_box->LogicalTop());
logical_layout_overflow.Unite(child_logical_layout_overflow);
« no previous file with comments | « third_party/WebKit/Source/core/layout/api/LineLayoutBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698