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

Unified Diff: Source/core/css/CSSGradientValue.cpp

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues Base URL: svn://svn.chromium.org/blink/trunk
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 | « Source/core/css/CSSGradientValue.h ('k') | Source/core/css/CSSGridLineNamesValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSGradientValue.cpp
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp
index 11c8c2b53ea29f91c3c0ec9d24f94537af17ceb0..cf1cc88fbaa1c8b65818e2b2e7fcdd4941c969f2 100644
--- a/Source/core/css/CSSGradientValue.cpp
+++ b/Source/core/css/CSSGradientValue.cpp
@@ -45,12 +45,6 @@
namespace blink {
-DEFINE_TRACE(CSSGradientColorStop)
-{
- visitor->trace(m_position);
- visitor->trace(m_color);
-}
-
PassRefPtr<Image> CSSGradientValue::image(LayoutObject* layoutObject, const IntSize& size)
{
if (size.isEmpty())
@@ -104,7 +98,7 @@ struct GradientStop {
{ }
};
-static void replaceColorHintsWithColorStops(Vector<GradientStop>& stops, const WillBeHeapVector<CSSGradientColorStop, 2>& cssGradientStops)
+static void replaceColorHintsWithColorStops(Vector<GradientStop>& stops, const Vector<CSSGradientColorStop, 2>& cssGradientStops)
{
// This algorithm will replace each color interpolation hint with 9 regular
// color stops. The color values for the new color stops will be calculated
@@ -569,18 +563,6 @@ bool CSSGradientValue::knownToBeOpaque(const LayoutObject* object) const
return true;
}
-DEFINE_TRACE_AFTER_DISPATCH(CSSGradientValue)
-{
-#if ENABLE(OILPAN)
- visitor->trace(m_firstX);
- visitor->trace(m_firstY);
- visitor->trace(m_secondX);
- visitor->trace(m_secondY);
- visitor->trace(m_stops);
-#endif
- CSSImageGeneratorValue::traceAfterDispatch(visitor);
-}
-
String CSSLinearGradientValue::customCSSText() const
{
StringBuilder result;
@@ -837,12 +819,6 @@ bool CSSLinearGradientValue::equals(const CSSLinearGradientValue& other) const
return equalXandY && m_stops == other.m_stops;
}
-DEFINE_TRACE_AFTER_DISPATCH(CSSLinearGradientValue)
-{
- visitor->trace(m_angle);
- CSSGradientValue::traceAfterDispatch(visitor);
-}
-
inline void CSSGradientValue::appendCSSTextForDeprecatedColorStops(StringBuilder& result) const
{
for (unsigned i = 0; i < m_stops.size(); i++) {
@@ -1199,15 +1175,4 @@ bool CSSRadialGradientValue::equals(const CSSRadialGradientValue& other) const
return equalShape && equalSizingBehavior && equalHorizontalAndVerticalSize && m_stops == other.m_stops;
}
-DEFINE_TRACE_AFTER_DISPATCH(CSSRadialGradientValue)
-{
- visitor->trace(m_firstRadius);
- visitor->trace(m_secondRadius);
- visitor->trace(m_shape);
- visitor->trace(m_sizingBehavior);
- visitor->trace(m_endHorizontalSize);
- visitor->trace(m_endVerticalSize);
- CSSGradientValue::traceAfterDispatch(visitor);
-}
-
} // namespace blink
« no previous file with comments | « Source/core/css/CSSGradientValue.h ('k') | Source/core/css/CSSGridLineNamesValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698