[Webkit-unassigned] [Bug 118016] New: Remove unused attachChildrenLazily method and make attach/detachChildren private
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 25 20:06:08 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118016
Summary: Remove unused attachChildrenLazily method and make
attach/detachChildren private
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: BlinkMergeCandidate
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: koivisto at iki.fi, esprehn at chromium.org,
simon.fraser at apple.com, benjamin at webkit.org,
akling at apple.com
Merge https://chromium.googlesource.com/chromium/blink/+/009520dc31c9458e0cf71cf212fa5688c4ca68b0
No one should be manually trying to attach or detach all their children so there's
no reason for these methods to be public.
In doing this I realized that attachChildrenLazily is not used and can be removed.
I also realized that we were detaching all our children before the ShadowRoots which
is sad since the InsertionPoints will call detach() on them as well, and then when we
call ContainerNode::detach at the end of Element::detach we'll go detach them again!
This patch makes it so we only go through and detach them twice instead of three times.
In the future we should figure out a way to only do this once.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list