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

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

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 | « third_party/WebKit/Source/core/style/NinePieceImage.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/NinePieceImage.cpp
diff --git a/third_party/WebKit/Source/core/style/NinePieceImage.cpp b/third_party/WebKit/Source/core/style/NinePieceImage.cpp
index c9bd3de84b573d71cc1fd0900367173fe60a125c..a185d9481d612bd57d25b1264280d920439da621 100644
--- a/third_party/WebKit/Source/core/style/NinePieceImage.cpp
+++ b/third_party/WebKit/Source/core/style/NinePieceImage.cpp
@@ -69,16 +69,6 @@ NinePieceImageData::NinePieceImageData()
Length(0, kFixed),
Length(0, kFixed)) {}
-NinePieceImageData::NinePieceImageData(const NinePieceImageData& other)
- : RefCounted<NinePieceImageData>(),
- fill(other.fill),
- horizontal_rule(other.horizontal_rule),
- vertical_rule(other.vertical_rule),
- image(other.image),
- image_slices(other.image_slices),
- border_slices(other.border_slices),
- outset(other.outset) {}
-
bool NinePieceImageData::operator==(const NinePieceImageData& other) const {
return DataEquivalent(image, other.image) &&
image_slices == other.image_slices && fill == other.fill &&
« no previous file with comments | « third_party/WebKit/Source/core/style/NinePieceImage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698