Chromium Code Reviews| Index: Source/core/style/StyleAlignmentData.cpp |
| diff --git a/Source/core/style/StyleAlignmentData.cpp b/Source/core/style/StyleAlignmentData.cpp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2f954c957a6093afdee3e907b73158fa9a3e0b27 |
| --- /dev/null |
| +++ b/Source/core/style/StyleAlignmentData.cpp |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "config.h" |
| +#include "core/style/StyleAlignmentData.h" |
| + |
| +namespace blink { |
| + |
| +StyleAlignmentData::StyleAlignmentData(ItemPosition position, OverflowAlignment overflow, ItemPositionType positionType) |
| + : m_itemPosition(position) |
| + , m_contentPosition(ContentPositionAuto) |
| + , m_distribution(ContentDistributionDefault) |
| + , m_positionType(positionType) |
| + , m_overflow(overflow) |
| +{ |
| +} |
| + |
| +StyleAlignmentData::StyleAlignmentData(ContentPosition position, ContentDistributionType distribution, OverflowAlignment overflow) |
| + : m_itemPosition(ItemPositionAuto) |
| + , m_contentPosition(position) |
| + , m_distribution(distribution) |
| + , m_positionType(NonLegacyPosition) |
| + , m_overflow(overflow) |
| +{ |
| +} |
|
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.
|
| + |
| +} // namespace blink |