summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/rendering/style/StyleWillChangeData.cpp
blob: 7cd2bcbf0aa1e4cb123c2746ff189a152cceb554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2014 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/rendering/style/StyleWillChangeData.h"

namespace WebCore {

StyleWillChangeData::StyleWillChangeData()
    : m_contents(false)
    , m_scrollPosition(false)
{
}

StyleWillChangeData::StyleWillChangeData(const StyleWillChangeData& o)
    : RefCounted<StyleWillChangeData>()
    , m_properties(o.m_properties)
    , m_contents(o.m_contents)
    , m_scrollPosition(o.m_scrollPosition)
{
}

} // namespace WebCore