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

Unified Diff: third_party/WebKit/Source/core/style/StyleBackgroundData.h

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.h
diff --git a/third_party/WebKit/Source/core/style/StyleBackgroundData.h b/third_party/WebKit/Source/core/style/StyleBackgroundData.h
index 1512616438ddf021942537a1a69b4983770f460e..b78c19cdfdee90ec5ca441766b44559f99ed0f5d 100644
--- a/third_party/WebKit/Source/core/style/StyleBackgroundData.h
+++ b/third_party/WebKit/Source/core/style/StyleBackgroundData.h
@@ -25,8 +25,8 @@
#ifndef StyleBackgroundData_h
#define StyleBackgroundData_h
+#include "core/css/StyleColor.h"
#include "core/style/FillLayer.h"
-#include "core/style/OutlineValue.h"
#include "platform/graphics/Color.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -49,11 +49,8 @@ class CORE_EXPORT StyleBackgroundData : public RefCounted<StyleBackgroundData> {
bool operator==(const StyleBackgroundData&) const;
bool operator!=(const StyleBackgroundData& o) const { return !(*this == o); }
- bool visuallyEqual(const StyleBackgroundData&) const;
-
const FillLayer& background() const { return m_background; }
const StyleColor& color() const { return m_color; }
- const OutlineValue& outline() const { return m_outline; }
private:
friend class ComputedStyle;
@@ -63,7 +60,6 @@ class CORE_EXPORT StyleBackgroundData : public RefCounted<StyleBackgroundData> {
FillLayer m_background;
StyleColor m_color;
- OutlineValue m_outline;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/StyleBackgroundData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698