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

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

Issue 2808703002: Make NinePieceImageData use RefCountedCopyable. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/NinePieceImage.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/NinePieceImage.h
diff --git a/third_party/WebKit/Source/core/style/NinePieceImage.h b/third_party/WebKit/Source/core/style/NinePieceImage.h
index 9a3e14c503dcfdc69f745e0ecb2c34f747573ae4..18d50861b86877d7c3cf410b122e7c7bbe5fc610 100644
--- a/third_party/WebKit/Source/core/style/NinePieceImage.h
+++ b/third_party/WebKit/Source/core/style/NinePieceImage.h
@@ -43,7 +43,8 @@ enum ENinePieceImageRule {
kRepeatImageRule
};
-class CORE_EXPORT NinePieceImageData : public RefCounted<NinePieceImageData> {
+class CORE_EXPORT NinePieceImageData
+ : public RefCountedCopyable<NinePieceImageData> {
public:
static PassRefPtr<NinePieceImageData> Create() {
return AdoptRef(new NinePieceImageData);
@@ -65,7 +66,7 @@ class CORE_EXPORT NinePieceImageData : public RefCounted<NinePieceImageData> {
private:
NinePieceImageData();
- NinePieceImageData(const NinePieceImageData&);
+ NinePieceImageData(const NinePieceImageData&) = default;
};
class CORE_EXPORT NinePieceImage {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/NinePieceImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698