| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 2664e77da858f63f831a27cc2ea8368eca772137..d729478c096b424b63019ca6ed3294153b9d6a87 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2872,15 +2872,14 @@ bool LayoutBox::HasStretchedLogicalWidth() const {
|
| // Flexbox Items, which obviously should have a container.
|
| return false;
|
| }
|
| - const ComputedStyle* parent_style = IsAnonymous() ? cb->Style() : nullptr;
|
| if (cb->IsHorizontalWritingMode() != IsHorizontalWritingMode())
|
| return style
|
| .ResolvedAlignSelf(cb->SelfAlignmentNormalBehavior(this),
|
| - parent_style)
|
| + cb->Style())
|
| .GetPosition() == kItemPositionStretch;
|
| return style
|
| .ResolvedJustifySelf(cb->SelfAlignmentNormalBehavior(this),
|
| - parent_style)
|
| + cb->Style())
|
| .GetPosition() == kItemPositionStretch;
|
| }
|
|
|
|
|