| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "core/rendering/style/StyleGridData.h" | 27 #include "core/rendering/style/StyleGridData.h" |
| 28 | 28 |
| 29 #include "core/rendering/style/RenderStyle.h" | 29 #include "core/rendering/style/RenderStyle.h" |
| 30 | 30 |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 StyleGridData::StyleGridData() | 33 StyleGridData::StyleGridData() |
| 34 : m_gridDefinitionColumns(RenderStyle::initialGridDefinitionColumns()) | 34 : m_gridDefinitionColumns(RenderStyle::initialGridDefinitionColumns()) |
| 35 , m_gridDefinitionRows(RenderStyle::initialGridDefinitionRows()) | 35 , m_gridDefinitionRows(RenderStyle::initialGridDefinitionRows()) |
| 36 , m_namedGridColumnLines(RenderStyle::initialNamedGridColumnLines()) |
| 37 , m_namedGridRowLines(RenderStyle::initialNamedGridRowLines()) |
| 36 , m_gridAutoFlow(RenderStyle::initialGridAutoFlow()) | 38 , m_gridAutoFlow(RenderStyle::initialGridAutoFlow()) |
| 37 , m_gridAutoRows(RenderStyle::initialGridAutoRows()) | 39 , m_gridAutoRows(RenderStyle::initialGridAutoRows()) |
| 38 , m_gridAutoColumns(RenderStyle::initialGridAutoColumns()) | 40 , m_gridAutoColumns(RenderStyle::initialGridAutoColumns()) |
| 39 , m_namedGridColumnLines(RenderStyle::initialNamedGridColumnLines()) | 41 , m_namedGridArea(RenderStyle::initialNamedGridArea()) |
| 40 , m_namedGridRowLines(RenderStyle::initialNamedGridRowLines()) | 42 , m_namedGridAreaRowCount(RenderStyle::initialNamedGridAreaCount()) |
| 43 , m_namedGridAreaColumnCount(RenderStyle::initialNamedGridAreaCount()) |
| 41 { | 44 { |
| 42 } | 45 } |
| 43 | 46 |
| 44 StyleGridData::StyleGridData(const StyleGridData& o) | 47 StyleGridData::StyleGridData(const StyleGridData& o) |
| 45 : RefCounted<StyleGridData>() | 48 : RefCounted<StyleGridData>() |
| 46 , m_gridDefinitionColumns(o.m_gridDefinitionColumns) | 49 , m_gridDefinitionColumns(o.m_gridDefinitionColumns) |
| 47 , m_gridDefinitionRows(o.m_gridDefinitionRows) | 50 , m_gridDefinitionRows(o.m_gridDefinitionRows) |
| 48 , m_namedGridColumnLines(o.m_namedGridColumnLines) | 51 , m_namedGridColumnLines(o.m_namedGridColumnLines) |
| 49 , m_namedGridRowLines(o.m_namedGridRowLines) | 52 , m_namedGridRowLines(o.m_namedGridRowLines) |
| 50 , m_gridAutoFlow(o.m_gridAutoFlow) | 53 , m_gridAutoFlow(o.m_gridAutoFlow) |
| 51 , m_gridAutoRows(o.m_gridAutoRows) | 54 , m_gridAutoRows(o.m_gridAutoRows) |
| 52 , m_gridAutoColumns(o.m_gridAutoColumns) | 55 , m_gridAutoColumns(o.m_gridAutoColumns) |
| 56 , m_namedGridArea(o.m_namedGridArea) |
| 57 , m_namedGridAreaRowCount(o.m_namedGridAreaRowCount) |
| 58 , m_namedGridAreaColumnCount(o.m_namedGridAreaColumnCount) |
| 53 { | 59 { |
| 54 } | 60 } |
| 55 | 61 |
| 56 } // namespace WebCore | 62 } // namespace WebCore |
| 57 | 63 |
| OLD | NEW |