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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2722613003: [css-grid] "normal" alignment is "start" for replaced elements (Closed)
Patch Set: Applied suggested changes Created 3 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: third_party/WebKit/Source/core/layout/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 8bb840744a271fc962481aca33a32537d20fafdb..eda48c9efd564a5af8f583f2a8dbc59ba04660f5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -1381,7 +1381,9 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void updateFromStyle() override;
- virtual ItemPosition selfAlignmentNormalBehavior() const {
+ virtual ItemPosition selfAlignmentNormalBehavior(
+ const LayoutBox* child = nullptr) const {
+ DCHECK(!child);
return ItemPositionStretch;
}

Powered by Google App Engine
This is Rietveld 408576698