| Index: Source/core/svg/SVGTests.cpp
|
| diff --git a/Source/core/svg/SVGTests.cpp b/Source/core/svg/SVGTests.cpp
|
| index 2c309550176b7c96257170bd4ae5fefd2ac57a14..36101886e592511c18c38225016baaf52c22119a 100644
|
| --- a/Source/core/svg/SVGTests.cpp
|
| +++ b/Source/core/svg/SVGTests.cpp
|
| @@ -156,9 +156,9 @@ bool SVGTests::handleAttributeChange(SVGElement* targetElement, const QualifiedN
|
|
|
| bool valid = targetElement->isValid();
|
| if (valid && !targetElement->attached() && targetElement->parentNode()->attached())
|
| - targetElement->lazyAttach();
|
| + targetElement->scheduleRenderTreeCreation();
|
| else if (!valid && targetElement->attached())
|
| - targetElement->detach();
|
| + targetElement->destroyRenderTree();
|
|
|
| return true;
|
| }
|
|
|