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

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

Issue 1069403003: Remove CSS list-style (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareInheritedData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/style/StyleRareInheritedData.cpp
diff --git a/sky/engine/core/rendering/style/StyleRareInheritedData.cpp b/sky/engine/core/rendering/style/StyleRareInheritedData.cpp
index e67ee4620406c6c1f1881ba6499567749bca7e01..85471789ece3bb2f4cd5181b8557ca92fc8c02db 100644
--- a/sky/engine/core/rendering/style/StyleRareInheritedData.cpp
+++ b/sky/engine/core/rendering/style/StyleRareInheritedData.cpp
@@ -39,7 +39,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
Color colors[2];
void* ownPtrs[1];
AtomicString atomicStrings[4];
- void* refPtrs[2];
+ void* refPtrs[1];
Length lengths[1];
unsigned m_bitfields[2];
short pagedMediaShorts[2];
@@ -52,8 +52,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
COMPILE_ASSERT(sizeof(StyleRareInheritedData) == sizeof(SameSizeAsStyleRareInheritedData), StyleRareInheritedData_should_bit_pack);
StyleRareInheritedData::StyleRareInheritedData()
- : listStyleImage(RenderStyle::initialListStyleImage())
- , textStrokeWidth(RenderStyle::initialTextStrokeWidth())
+ : textStrokeWidth(RenderStyle::initialTextStrokeWidth())
, indent(RenderStyle::initialTextIndent())
, widows(RenderStyle::initialWidows())
, orphans(RenderStyle::initialOrphans())
@@ -92,7 +91,6 @@ StyleRareInheritedData::StyleRareInheritedData()
StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
: RefCounted<StyleRareInheritedData>()
- , listStyleImage(o.listStyleImage)
, m_textStrokeColor(o.m_textStrokeColor)
, textStrokeWidth(o.textStrokeWidth)
, m_textFillColor(o.m_textFillColor)
@@ -188,7 +186,6 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
&& m_tabSize == o.m_tabSize
&& m_imageRendering == o.m_imageRendering
&& m_textUnderlinePosition == o.m_textUnderlinePosition
- && dataEquivalent(listStyleImage.get(), o.listStyleImage.get())
&& dataEquivalent(appliedTextDecorations, o.appliedTextDecorations);
}
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698