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

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

Issue 643893002: Store [-webkit-]perspective-origin as a LengthPoint. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/StyleRareNonInheritedData.cpp
diff --git a/Source/core/rendering/style/StyleRareNonInheritedData.cpp b/Source/core/rendering/style/StyleRareNonInheritedData.cpp
index ff1f735b7e95dca5ad607832f1e8bb5a0f24b26e..8545854970471e638e76c605d35edf8e3817411e 100644
--- a/Source/core/rendering/style/StyleRareNonInheritedData.cpp
+++ b/Source/core/rendering/style/StyleRareNonInheritedData.cpp
@@ -36,8 +36,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
: opacity(RenderStyle::initialOpacity())
, m_aspectRatio(RenderStyle::initialAspectRatio())
, m_perspective(RenderStyle::initialPerspective())
- , m_perspectiveOriginX(RenderStyle::initialPerspectiveOriginX())
- , m_perspectiveOriginY(RenderStyle::initialPerspectiveOriginY())
+ , m_perspectiveOrigin(RenderStyle::initialPerspectiveOrigin())
, lineClamp(RenderStyle::initialLineClamp())
, m_draggableRegionMode(DraggableRegionNone)
, m_mask(MaskFillLayer, true)
@@ -102,8 +101,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
, opacity(o.opacity)
, m_aspectRatio(o.m_aspectRatio)
, m_perspective(o.m_perspective)
- , m_perspectiveOriginX(o.m_perspectiveOriginX)
- , m_perspectiveOriginY(o.m_perspectiveOriginY)
+ , m_perspectiveOrigin(o.m_perspectiveOrigin)
, lineClamp(o.lineClamp)
, m_draggableRegionMode(o.m_draggableRegionMode)
, m_deprecatedFlexibleBox(o.m_deprecatedFlexibleBox)
@@ -190,8 +188,7 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
return opacity == o.opacity
&& m_aspectRatio == o.m_aspectRatio
&& m_perspective == o.m_perspective
- && m_perspectiveOriginX == o.m_perspectiveOriginX
- && m_perspectiveOriginY == o.m_perspectiveOriginY
+ && m_perspectiveOrigin == o.m_perspectiveOrigin
&& lineClamp == o.lineClamp
&& m_draggableRegionMode == o.m_draggableRegionMode
&& m_deprecatedFlexibleBox == o.m_deprecatedFlexibleBox

Powered by Google App Engine
This is Rietveld 408576698