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

Unified Diff: third_party/WebKit/Source/core/style/StyleBackgroundData.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
Index: third_party/WebKit/Source/core/style/StyleBackgroundData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleBackgroundData.cpp b/third_party/WebKit/Source/core/style/StyleBackgroundData.cpp
index ab0d6474c1efbc68cb9a46ccec13ef8a9995c99d..fd4956dc41736ff0340cab0a6875dd85841e4626 100644
--- a/third_party/WebKit/Source/core/style/StyleBackgroundData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleBackgroundData.cpp
@@ -33,17 +33,10 @@ StyleBackgroundData::StyleBackgroundData()
StyleBackgroundData::StyleBackgroundData(const StyleBackgroundData& o)
: RefCounted<StyleBackgroundData>(),
m_background(o.m_background),
- m_color(o.m_color),
- m_outline(o.m_outline) {}
+ m_color(o.m_color) {}
bool StyleBackgroundData::operator==(const StyleBackgroundData& o) const {
- return m_background == o.m_background && m_color == o.m_color &&
- m_outline == o.m_outline;
-}
-
-bool StyleBackgroundData::visuallyEqual(const StyleBackgroundData& o) const {
- return m_background == o.m_background && m_color == o.m_color &&
- m_outline.visuallyEqual(o.m_outline);
+ return m_background == o.m_background && m_color == o.m_color;
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleBackgroundData.h ('k') | third_party/WebKit/Source/core/style/StyleDifference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698