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

Unified Diff: Source/core/rendering/style/StyleWillChangeData.cpp

Issue 167603002: Implement 'will-change' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/style/StyleWillChangeData.cpp
diff --git a/Source/core/rendering/style/StyleWillChangeData.cpp b/Source/core/rendering/style/StyleWillChangeData.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..7cd2bcbf0aa1e4cb123c2746ff189a152cceb554
--- /dev/null
+++ b/Source/core/rendering/style/StyleWillChangeData.cpp
@@ -0,0 +1,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

Powered by Google App Engine
This is Rietveld 408576698