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

Side by Side Diff: Source/core/style/StyleAlignmentData.cpp

Issue 1070143002: [Alignment] Single class for holding the alignment data. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Using the StyleConverter. Created 5 years, 8 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698