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

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

Issue 2881003002: Cleanup StyleRareInheritedData. (Closed)
Patch Set: Rebase Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleRareInheritedData.h
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
index 17a6bbfc235f58f114bff9694988bd213ebdb840..0150b103019065b64ba99b5f55365b20fc53cfa8 100644
--- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
+++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
@@ -28,8 +28,15 @@
#include "core/CoreExport.h"
#include "core/css/StyleAutoColor.h"
#include "core/css/StyleColor.h"
+#include "core/style/AppliedTextDecoration.h"
#include "core/style/AppliedTextDecorationList.h"
+#include "core/style/CursorData.h"
#include "core/style/CursorList.h"
+#include "core/style/QuotesData.h"
+#include "core/style/ShadowData.h"
+#include "core/style/ShadowList.h"
+#include "core/style/StyleImage.h"
+#include "core/style/StyleInheritedVariables.h"
#include "core/style/TextSizeAdjust.h"
#include "platform/Length.h"
#include "platform/graphics/Color.h"
@@ -54,7 +61,7 @@ class StyleInheritedVariables;
// all methods on it, merging them into copy/creation methods on ComputedStyle
// instead. Keep the allocation logic, only allocating a new object if needed.
class CORE_EXPORT StyleRareInheritedData
- : public RefCounted<StyleRareInheritedData> {
+ : public RefCountedCopyable<StyleRareInheritedData> {
public:
static PassRefPtr<StyleRareInheritedData> Create() {
return AdoptRef(new StyleRareInheritedData);
@@ -62,7 +69,6 @@ class CORE_EXPORT StyleRareInheritedData
PassRefPtr<StyleRareInheritedData> Copy() const {
return AdoptRef(new StyleRareInheritedData(*this));
}
- ~StyleRareInheritedData();
bool operator==(const StyleRareInheritedData&) const;
bool operator!=(const StyleRareInheritedData& o) const {
@@ -164,7 +170,7 @@ class CORE_EXPORT StyleRareInheritedData
private:
StyleRareInheritedData();
- StyleRareInheritedData(const StyleRareInheritedData&);
+ StyleRareInheritedData(const StyleRareInheritedData&) = default;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698