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 456e411cbfb3a0d7b3ddef0e74bf1e6bd0209937..519f49d51b47e747acbd8676dfe9dc1881eccc9b 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -2756,11 +2756,11 @@ bool LayoutBox::hasStretchedLogicalWidth() const { |
const ComputedStyle* parentStyle = isAnonymous() ? cb->style() : nullptr; |
if (cb->isHorizontalWritingMode() != isHorizontalWritingMode()) |
return style |
- .resolvedAlignSelf(cb->selfAlignmentNormalBehavior(), |
+ .resolvedAlignSelf(cb->selfAlignmentNormalBehavior(this), |
parentStyle) |
.position() == ItemPositionStretch; |
return style |
- .resolvedJustifySelf(cb->selfAlignmentNormalBehavior(), |
+ .resolvedJustifySelf(cb->selfAlignmentNormalBehavior(this), |
parentStyle) |
.position() == ItemPositionStretch; |
} |