| Index: Source/core/svg/SVGLengthContext.cpp
|
| diff --git a/Source/core/svg/SVGLengthContext.cpp b/Source/core/svg/SVGLengthContext.cpp
|
| index 13c8784f7473ca59b853d36378192259f97b00fa..3e2eb6f6393e3557a01b4cf57469743e5dde6d54 100644
|
| --- a/Source/core/svg/SVGLengthContext.cpp
|
| +++ b/Source/core/svg/SVGLengthContext.cpp
|
| @@ -194,8 +194,8 @@ static inline LayoutStyle* layoutStyleForLengthResolving(const SVGElement* conte
|
|
|
| const ContainerNode* currentContext = context;
|
| do {
|
| - if (currentContext->renderer())
|
| - return currentContext->renderer()->style();
|
| + if (currentContext->layoutObject())
|
| + return currentContext->layoutObject()->style();
|
| currentContext = currentContext->parentNode();
|
| } while (currentContext);
|
|
|
|
|