Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| index 8fcb43a4b190a314681673834cffed492f3a4b6d..ade1ef523145c99a7f6595be9a28a94c9e1ad961 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| @@ -1163,7 +1163,7 @@ void LayoutBlock::markFixedPositionObjectForLayoutIfNeeded(LayoutObject* child, |
| } |
| } |
| -LayoutUnit LayoutBlock::marginIntrinsicLogicalWidthForChild(LayoutBox& child) const |
| +LayoutUnit LayoutBlock::marginIntrinsicLogicalWidthForChild(const LayoutBox& child) const |
|
svillar
2016/03/23 11:02:00
Why?
jfernandez
2016/04/01 16:39:56
Because we use this function from assumedRowsBread
|
| { |
| // A margin has three types: fixed, percentage, and auto (variable). |
| // Auto and percentage margins become 0 when computing min/max width. |