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

Unified Diff: Source/core/rendering/style/SVGRenderStyle.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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/rendering/style/RenderStyle.cpp ('k') | Source/core/rendering/style/SVGRenderStyleDefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/SVGRenderStyle.h
diff --git a/Source/core/rendering/style/SVGRenderStyle.h b/Source/core/rendering/style/SVGRenderStyle.h
index 8e37efebefbe04807a017df8f4ec15cf77136dd8..ef12b4c361ae7d8507ea6128d792d01e18520660 100644
--- a/Source/core/rendering/style/SVGRenderStyle.h
+++ b/Source/core/rendering/style/SVGRenderStyle.h
@@ -75,7 +75,7 @@ public:
static SVGPaintType initialStrokePaintType() { return SVG_PAINTTYPE_NONE; }
static Color initialStrokePaintColor() { return Color(); }
static String initialStrokePaintUri() { return String(); }
- static PassRefPtr<SVGLengthList> initialStrokeDashArray() { return SVGLengthList::create(); }
+ static PassRefPtrWillBeRawPtr<SVGLengthList> initialStrokeDashArray() { return SVGLengthList::create(); }
static float initialStrokeMiterLimit() { return 4; }
static float initialStopOpacity() { return 1; }
static Color initialStopColor() { return Color(0, 0, 0); }
@@ -91,23 +91,23 @@ public:
static EMaskType initialMaskType() { return MT_LUMINANCE; }
static EPaintOrder initialPaintOrder() { return PO_NORMAL; }
- static PassRefPtr<SVGLength> initialBaselineShiftValue()
+ static PassRefPtrWillBeRawPtr<SVGLength> initialBaselineShiftValue()
{
- RefPtr<SVGLength> length = SVGLength::create();
+ RefPtrWillBeRawPtr<SVGLength> length = SVGLength::create();
length->newValueSpecifiedUnits(LengthTypeNumber, 0);
return length.release();
}
- static PassRefPtr<SVGLength> initialStrokeDashOffset()
+ static PassRefPtrWillBeRawPtr<SVGLength> initialStrokeDashOffset()
{
- RefPtr<SVGLength> length = SVGLength::create();
+ RefPtrWillBeRawPtr<SVGLength> length = SVGLength::create();
length->newValueSpecifiedUnits(LengthTypeNumber, 0);
return length.release();
}
- static PassRefPtr<SVGLength> initialStrokeWidth()
+ static PassRefPtrWillBeRawPtr<SVGLength> initialStrokeWidth()
{
- RefPtr<SVGLength> length = SVGLength::create();
+ RefPtrWillBeRawPtr<SVGLength> length = SVGLength::create();
length->newValueSpecifiedUnits(LengthTypeNumber, 1);
return length.release();
}
@@ -185,7 +185,7 @@ public:
}
}
- void setStrokeDashArray(PassRefPtr<SVGLengthList> obj)
+ void setStrokeDashArray(PassRefPtrWillBeRawPtr<SVGLengthList> obj)
{
if (!(stroke->dashArray == obj))
stroke.access()->dashArray = obj;
@@ -197,13 +197,13 @@ public:
stroke.access()->miterLimit = obj;
}
- void setStrokeWidth(PassRefPtr<SVGLength> obj)
+ void setStrokeWidth(PassRefPtrWillBeRawPtr<SVGLength> obj)
{
if (!(stroke->width == obj))
stroke.access()->width = obj;
}
- void setStrokeDashOffset(PassRefPtr<SVGLength> obj)
+ void setStrokeDashOffset(PassRefPtrWillBeRawPtr<SVGLength> obj)
{
if (!(stroke->dashOffset == obj))
stroke.access()->dashOffset = obj;
@@ -239,7 +239,7 @@ public:
misc.access()->lightingColor = obj;
}
- void setBaselineShiftValue(PassRefPtr<SVGLength> obj)
+ void setBaselineShiftValue(PassRefPtrWillBeRawPtr<SVGLength> obj)
{
if (!(misc->baselineShiftValue == obj))
misc.access()->baselineShiftValue = obj;
« no previous file with comments | « Source/core/rendering/style/RenderStyle.cpp ('k') | Source/core/rendering/style/SVGRenderStyleDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698