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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFullScreen.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/LayoutFullScreen.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutFullScreen.h b/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
index 1851f2fe0798989ab25c99299b9e460bce49dca2..db7d3e6e467157ef4cd8f3907312df3c964392cf 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
+++ b/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
@@ -67,7 +67,9 @@ class CORE_EXPORT LayoutFullScreen final : public LayoutFlexibleBox {
protected:
LayoutBlockFlow* m_placeholder;
- ItemPosition selfAlignmentNormalBehavior() const override {
+ ItemPosition selfAlignmentNormalBehavior(
+ const LayoutBox* child = nullptr) const override {
+ DCHECK(!child);
return ItemPositionCenter;
}
};
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutGrid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698