| Index: Source/core/rendering/style/SVGRenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/SVGRenderStyle.cpp b/Source/core/rendering/style/SVGRenderStyle.cpp
|
| index bc5c3399257a0d4b3341763f355b6549f690dca8..7d7498a7e1edbd760d0e055614f53f33fc924ac5 100644
|
| --- a/Source/core/rendering/style/SVGRenderStyle.cpp
|
| +++ b/Source/core/rendering/style/SVGRenderStyle.cpp
|
| @@ -221,4 +221,11 @@ StyleDifference SVGRenderStyle::diff(const SVGRenderStyle* other) const
|
| return StyleDifferenceEqual;
|
| }
|
|
|
| +EPaintOrderType SVGRenderStyle::paintOrderType(unsigned index) const
|
| +{
|
| + ASSERT(index < ((1 << kPaintOrderBitwidth)-1));
|
| + unsigned pt = (paintOrder() >> (kPaintOrderBitwidth*index)) & ((1u << kPaintOrderBitwidth) - 1);
|
| + return (EPaintOrderType)pt;
|
| +}
|
| +
|
| }
|
|
|