Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "config.h" | |
| 6 #include "core/style/StyleAlignmentData.h" | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 StyleAlignmentData::StyleAlignmentData(ItemPosition position, OverflowAlignment overflow, ItemPositionType positionType) | |
| 11 : m_itemPosition(position) | |
| 12 , m_contentPosition(ContentPositionAuto) | |
| 13 , m_distribution(ContentDistributionDefault) | |
| 14 , m_positionType(positionType) | |
| 15 , m_overflow(overflow) | |
| 16 { | |
| 17 } | |
| 18 | |
| 19 StyleAlignmentData::StyleAlignmentData(ContentPosition position, ContentDistribu tionType distribution, OverflowAlignment overflow) | |
| 20 : m_itemPosition(ItemPositionAuto) | |
| 21 , m_contentPosition(position) | |
| 22 , m_distribution(distribution) | |
| 23 , m_positionType(NonLegacyPosition) | |
| 24 , m_overflow(overflow) | |
| 25 { | |
| 26 } | |
|
Julien - ping for review
2015/04/13 14:46:20
Any reason why this is not inlined?
jfernandez
2015/04/14 00:18:43
No reason. It can be inlined, indeed.
| |
| 27 | |
| 28 } // namespace blink | |
| OLD | NEW |