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

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

Issue 24773003: Rename Node::attached() to confusingAndOftenMisusedAttached() (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
« no previous file with comments | « Source/core/rendering/RenderMenuList.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTests.cpp
diff --git a/Source/core/svg/SVGTests.cpp b/Source/core/svg/SVGTests.cpp
index 2c309550176b7c96257170bd4ae5fefd2ac57a14..9966ba625ada40067b212f6e2dd84979253de94f 100644
--- a/Source/core/svg/SVGTests.cpp
+++ b/Source/core/svg/SVGTests.cpp
@@ -155,9 +155,9 @@ bool SVGTests::handleAttributeChange(SVGElement* targetElement, const QualifiedN
return true;
bool valid = targetElement->isValid();
- if (valid && !targetElement->attached() && targetElement->parentNode()->attached())
+ if (valid && !targetElement->confusingAndOftenMisusedAttached() && targetElement->parentNode()->confusingAndOftenMisusedAttached())
targetElement->lazyAttach();
- else if (!valid && targetElement->attached())
+ else if (!valid && targetElement->confusingAndOftenMisusedAttached())
targetElement->detach();
return true;
« no previous file with comments | « Source/core/rendering/RenderMenuList.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698