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

Unified Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp

Issue 2481553002: Move outline out of StyleBackgroundData into StyleRareNonInheritedData (Closed)
Patch Set: - Created 4 years, 1 month 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 | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
index 89cb8e60bd917205ae8ad436210f621c31b368dd..2a35e71987e5d05c8606865d366784904d692158 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -54,6 +54,7 @@ class SameSizeStyleRareNonInheritedData
NinePieceImage ninePieces;
FloatSize floatSize;
Length lengths;
+ OutlineValue outline;
StyleColor styleColors[8];
@@ -169,6 +170,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(
m_maskBoxImage(o.m_maskBoxImage),
m_pageSize(o.m_pageSize),
m_shapeMargin(o.m_shapeMargin),
+ m_outline(o.m_outline),
m_textDecorationColor(o.m_textDecorationColor),
m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor),
m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor),
@@ -242,7 +244,7 @@ bool StyleRareNonInheritedData::operator==(
transitionDataEquivalent(o) && shapeOutsideDataEquivalent(o) &&
m_mask == o.m_mask && m_maskBoxImage == o.m_maskBoxImage &&
m_pageSize == o.m_pageSize && m_shapeMargin == o.m_shapeMargin &&
- clipPathDataEquivalent(o) &&
+ m_outline == o.m_outline && clipPathDataEquivalent(o) &&
m_textDecorationColor == o.m_textDecorationColor &&
m_visitedLinkTextDecorationColor ==
o.m_visitedLinkTextDecorationColor &&
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698