Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1345)

Unified Diff: Source/core/svg/SVGTests.cpp

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698