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

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

Issue 1076623002: Remove our impressive amount of CSS Cursor code. (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
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 53375092b7c9f746e65fcbcaa1b26501c72229dc..e67ee4620406c6c1f1881ba6499567749bca7e01 100644
--- a/sky/engine/core/rendering/style/StyleRareInheritedData.cpp
+++ b/sky/engine/core/rendering/style/StyleRareInheritedData.cpp
@@ -23,7 +23,6 @@
#include "sky/engine/core/rendering/style/StyleRareInheritedData.h"
#include "sky/engine/core/rendering/style/AppliedTextDecoration.h"
-#include "sky/engine/core/rendering/style/CursorData.h"
#include "sky/engine/core/rendering/style/DataEquivalency.h"
#include "sky/engine/core/rendering/style/QuotesData.h"
#include "sky/engine/core/rendering/style/RenderStyle.h"
@@ -40,7 +39,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
Color colors[2];
void* ownPtrs[1];
AtomicString atomicStrings[4];
- void* refPtrs[3];
+ void* refPtrs[2];
Length lengths[1];
unsigned m_bitfields[2];
short pagedMediaShorts[2];
@@ -100,7 +99,6 @@ StyleRareInheritedData::StyleRareInheritedData(const StyleRareInheritedData& o)
, m_textEmphasisColor(o.m_textEmphasisColor)
, textShadow(o.textShadow)
, highlight(o.highlight)
- , cursorData(o.cursorData)
, indent(o.indent)
, widows(o.widows)
, orphans(o.orphans)
@@ -154,7 +152,6 @@ bool StyleRareInheritedData::operator==(const StyleRareInheritedData& o) const
&& tapHighlightColor == o.tapHighlightColor
&& shadowDataEquivalent(o)
&& highlight == o.highlight
- && dataEquivalent(cursorData.get(), o.cursorData.get())
&& indent == o.indent
&& widows == o.widows
&& orphans == o.orphans
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareInheritedData.h ('k') | sky/engine/core/rendering/style/StyleRareNonInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698