| OLD | NEW |
| 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 17 matching lines...) Expand all Loading... |
| 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/rendering/style/StyleGridItemData.h" | 31 #include "core/rendering/style/StyleGridItemData.h" |
| 32 | 32 |
| 33 #include "core/rendering/style/RenderStyle.h" | 33 #include "core/rendering/style/RenderStyle.h" |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 StyleGridItemData::StyleGridItemData() | 37 StyleGridItemData::StyleGridItemData() |
| 38 : m_gridStart(RenderStyle::initialGridPosition()) | 38 : m_gridStart(RenderStyle::initialGridStart()) |
| 39 , m_gridEnd(RenderStyle::initialGridPosition()) | 39 , m_gridEnd(RenderStyle::initialGridEnd()) |
| 40 , m_gridBefore(RenderStyle::initialGridPosition()) | 40 , m_gridBefore(RenderStyle::initialGridBefore()) |
| 41 , m_gridAfter(RenderStyle::initialGridPosition()) | 41 , m_gridAfter(RenderStyle::initialGridAfter()) |
| 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_gridStart(o.m_gridStart) | 47 , m_gridStart(o.m_gridStart) |
| 48 , m_gridEnd(o.m_gridEnd) | 48 , m_gridEnd(o.m_gridEnd) |
| 49 , m_gridBefore(o.m_gridBefore) | 49 , m_gridBefore(o.m_gridBefore) |
| 50 , m_gridAfter(o.m_gridAfter) | 50 , m_gridAfter(o.m_gridAfter) |
| 51 { | 51 { |
| 52 } | 52 } |
| 53 | 53 |
| 54 } // namespace WebCore | 54 } // namespace WebCore |
| OLD | NEW |