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

Unified Diff: sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 893093002: Delete remaining masks dead code. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp
diff --git a/sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp b/sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp
index a8a557ea1257e8d3c219e3ba4d8c6ef2dfc8c1ca..ca4c4d70da3a46b06cdfe17909db6d82fc0bd6d9 100644
--- a/sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp
+++ b/sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp
@@ -37,7 +37,6 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
, m_perspective(RenderStyle::initialPerspective())
, m_perspectiveOriginX(RenderStyle::initialPerspectiveOriginX())
, m_perspectiveOriginY(RenderStyle::initialPerspectiveOriginY())
- , m_mask(MaskFillLayer, true)
, m_pageSize()
, m_clipPath(RenderStyle::initialClipPath())
, m_textDecorationColor(StyleColor::currentColor())
@@ -66,7 +65,6 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
, m_justifySelf(RenderStyle::initialJustifySelf())
, m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlignment())
{
- m_maskBoxImage.setMaskDefaults();
}
StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInheritedData& o)
@@ -85,8 +83,6 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
, m_boxShadow(o.m_boxShadow)
, m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) : nullptr)
, m_transitions(o.m_transitions ? CSSTransitionData::create(*o.m_transitions) : nullptr)
- , m_mask(o.m_mask)
- , m_maskBoxImage(o.m_maskBoxImage)
, m_pageSize(o.m_pageSize)
, m_clipPath(o.m_clipPath)
, m_textDecorationColor(o.m_textDecorationColor)
@@ -137,8 +133,6 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
&& shadowDataEquivalent(o)
&& animationDataEquivalent(o)
&& transitionDataEquivalent(o)
- && m_mask == o.m_mask
- && m_maskBoxImage == o.m_maskBoxImage
&& m_pageSize == o.m_pageSize
&& m_clipPath == o.m_clipPath
&& m_textDecorationColor == o.m_textDecorationColor
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareNonInheritedData.h ('k') | sky/engine/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698