RESOLVED FIXED 155226
Rename Node.treeRoot to rootNode and turn it on by default
https://bugs.webkit.org/show_bug.cgi?id=155226
Summary Rename Node.treeRoot to rootNode and turn it on by default
Ryosuke Niwa
Reported 2016-03-09 01:49:19 PST
Rename Node.treeRoot to rootNode and turn it on by default
Attachments
Renamed the function (70.32 KB, patch)
2016-03-09 01:58 PST, Ryosuke Niwa
tonikitoo: review+
Ryosuke Niwa
Comment 1 2016-03-09 01:58:22 PST
Created attachment 273415 [details] Renamed the function
Radar WebKit Bug Importer
Comment 2 2016-03-09 01:59:02 PST
Antonio Gomes
Comment 3 2016-03-09 06:07:19 PST
Comment on attachment 273415 [details] Renamed the function View in context: https://bugs.webkit.org/attachment.cgi?id=273415&action=review r=me > Source/WebCore/html/FormAssociatedElement.cpp:86 > +// since inDocument flag maybe inaccurate. s/maybe/may be/ ?
Ryosuke Niwa
Comment 4 2016-03-09 14:10:34 PST
Thanks for the review! (In reply to comment #3) > Comment on attachment 273415 [details] > Renamed the function > > View in context: > https://bugs.webkit.org/attachment.cgi?id=273415&action=review > > r=me > > > Source/WebCore/html/FormAssociatedElement.cpp:86 > > +// since inDocument flag maybe inaccurate. > > s/maybe/may be/ ? Revised the whole comment as: // Compute the highest ancestor instead of calling Node::rootNode in removedFrom / formRemovedFromTree // since inDocument flag on some form associated elements may not have been updated yet.
Ryosuke Niwa
Comment 5 2016-03-09 14:29:20 PST
Note You need to log in before you can comment on or make changes to this bug.