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

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

Issue 2781313004: Implement RefCountedCopyable<T>. (Closed)
Patch Set: Address comments Created 3 years, 9 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
Index: third_party/WebKit/Source/core/style/StyleBoxData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleBoxData.cpp b/third_party/WebKit/Source/core/style/StyleBoxData.cpp
index bb68d2752677855de1b3f94a09cc292aaa9c03d9..cd85c24c08a0862e448ea254fc3deffed2e0b46c 100644
--- a/third_party/WebKit/Source/core/style/StyleBoxData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleBoxData.cpp
@@ -44,20 +44,6 @@ StyleBoxData::StyleBoxData()
m_boxSizing(static_cast<unsigned>(ComputedStyle::initialBoxSizing())),
m_boxDecorationBreak(BoxDecorationBreakSlice) {}
-StyleBoxData::StyleBoxData(const StyleBoxData& o)
- : RefCounted<StyleBoxData>(),
- m_width(o.m_width),
- m_height(o.m_height),
- m_minWidth(o.m_minWidth),
- m_maxWidth(o.m_maxWidth),
- m_minHeight(o.m_minHeight),
- m_maxHeight(o.m_maxHeight),
- m_verticalAlign(o.m_verticalAlign),
- m_zIndex(o.m_zIndex),
- m_hasAutoZIndex(o.m_hasAutoZIndex),
- m_boxSizing(o.m_boxSizing),
- m_boxDecorationBreak(o.m_boxDecorationBreak) {}
-
bool StyleBoxData::operator==(const StyleBoxData& o) const {
return m_width == o.m_width && m_height == o.m_height &&
m_minWidth == o.m_minWidth && m_maxWidth == o.m_maxWidth &&
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleBoxData.h ('k') | third_party/WebKit/Source/platform/wtf/RefCounted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698