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

Unified Diff: Source/core/css/CSSBasicShapes.h

Issue 1323483002: Remove unused CSSBasicShape::m_referenceBox (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | Source/core/css/CSSBasicShapes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSBasicShapes.h
diff --git a/Source/core/css/CSSBasicShapes.h b/Source/core/css/CSSBasicShapes.h
index 827b5790d1a249f3b373c3a558cb8618824069bd..30266e35cd23ed66ad32ddddddbfa9561571a15d 100644
--- a/Source/core/css/CSSBasicShapes.h
+++ b/Source/core/css/CSSBasicShapes.h
@@ -52,19 +52,15 @@ public:
virtual String cssText() const = 0;
virtual bool equals(const CSSBasicShape&) const = 0;
- CSSPrimitiveValue* referenceBox() const { return m_referenceBox.get(); }
- void setReferenceBox(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> referenceBox) { m_referenceBox = referenceBox; }
-
bool isEllipse() const { return type() == CSSBasicShapeEllipseType; }
bool isPolygon() const { return type() == CSSBasicShapePolygonType; }
bool isCircle() const { return type() == CSSBasicShapeCircleType; }
bool isInset() const { return type() == CSSBasicShapeInsetType; }
- DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_referenceBox); }
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
protected:
CSSBasicShape() { }
- RefPtrWillBeMember<CSSPrimitiveValue> m_referenceBox;
};
class CSSBasicShapeCircle final : public CSSBasicShape {
« no previous file with comments | « no previous file | Source/core/css/CSSBasicShapes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698