| Index: third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| index 06d0e834b8368fc41a93c1d7fcf7c3b2eb8ef425..2e0ecdaad514a774f6dfe8845ad8789149b84727 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.cpp
|
| @@ -59,7 +59,7 @@ inline bool isValidLengthUnit(unsigned short type)
|
|
|
| inline bool canResolveRelativeUnits(const SVGElement* contextElement)
|
| {
|
| - return contextElement && contextElement->inDocument();
|
| + return contextElement && contextElement->inShadowIncludingDocument();
|
| }
|
|
|
| inline CSSPrimitiveValue::UnitType toCSSUnitType(unsigned short type)
|
|
|