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

Side by Side Diff: Source/core/layout/style/StyleGridItemData.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 12 matching lines...) Expand all
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 #include "config.h" 30 #include "config.h"
31 #include "core/layout/style/StyleGridItemData.h" 31 #include "core/layout/style/StyleGridItemData.h"
32 32
33 #include "core/layout/style/LayoutStyle.h" 33 #include "core/layout/style/ComputedStyle.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 StyleGridItemData::StyleGridItemData() 37 StyleGridItemData::StyleGridItemData()
38 : m_gridColumnStart(LayoutStyle::initialGridColumnStart()) 38 : m_gridColumnStart(ComputedStyle::initialGridColumnStart())
39 , m_gridColumnEnd(LayoutStyle::initialGridColumnEnd()) 39 , m_gridColumnEnd(ComputedStyle::initialGridColumnEnd())
40 , m_gridRowStart(LayoutStyle::initialGridRowStart()) 40 , m_gridRowStart(ComputedStyle::initialGridRowStart())
41 , m_gridRowEnd(LayoutStyle::initialGridRowEnd()) 41 , m_gridRowEnd(ComputedStyle::initialGridRowEnd())
42 { 42 {
43 } 43 }
44 44
45 StyleGridItemData::StyleGridItemData(const StyleGridItemData& o) 45 StyleGridItemData::StyleGridItemData(const StyleGridItemData& o)
46 : RefCounted<StyleGridItemData>() 46 : RefCounted<StyleGridItemData>()
47 , m_gridColumnStart(o.m_gridColumnStart) 47 , m_gridColumnStart(o.m_gridColumnStart)
48 , m_gridColumnEnd(o.m_gridColumnEnd) 48 , m_gridColumnEnd(o.m_gridColumnEnd)
49 , m_gridRowStart(o.m_gridRowStart) 49 , m_gridRowStart(o.m_gridRowStart)
50 , m_gridRowEnd(o.m_gridRowEnd) 50 , m_gridRowEnd(o.m_gridRowEnd)
51 { 51 {
52 } 52 }
53 53
54 } // namespace blink 54 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/style/StyleGridData.cpp ('k') | Source/core/layout/style/StyleInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698