| 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 ebff1f65177f326445c48f10344a3d3bf6ab2c7d..c931f6326b19b83a88d7fbee8b9e74b64bd6ab71 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->inShadowIncludingDocument();
|
| + return contextElement && contextElement->isConnected();
|
| }
|
|
|
| inline CSSPrimitiveValue::UnitType toCSSUnitType(unsigned short type)
|
|
|