WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
118016
Remove unused attachChildrenLazily method and make attach/detachChildren private
https://bugs.webkit.org/show_bug.cgi?id=118016
Summary
Remove unused attachChildrenLazily method and make attach/detachChildren private
Ryosuke Niwa
Reported
2013-06-25 20:08:01 PDT
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.
Attachments
Merges the patch
(4.02 KB, patch)
2013-06-25 20:08 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2013-06-25 20:08:48 PDT
Created
attachment 205440
[details]
Merges the patch
WebKit Commit Bot
Comment 2
2013-06-28 17:02:16 PDT
Comment on
attachment 205440
[details]
Merges the patch Clearing flags on attachment: 205440 Committed
r152197
: <
http://trac.webkit.org/changeset/152197
>
WebKit Commit Bot
Comment 3
2013-06-28 17:02:20 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug