RESOLVED FIXED 51121
[v8] The last portion of CSS GC work: fixing fast/dom/StyleSheet/gc-stylesheet-wrapper.html
https://bugs.webkit.org/show_bug.cgi?id=51121
Summary [v8] The last portion of CSS GC work: fixing fast/dom/StyleSheet/gc-styleshee...
anton muhin
Reported 2010-12-15 11:34:28 PST
[v8] The last portion of CSS GC work: fixing fast/dom/StyleSheet/gc-stylesheet-wrapper.html
Attachments
Patch (3.48 KB, patch)
2010-12-15 15:13 PST, anton muhin
no flags
Patch (3.49 KB, patch)
2010-12-15 15:39 PST, anton muhin
no flags
Patch (3.48 KB, patch)
2010-12-15 16:04 PST, anton muhin
no flags
anton muhin
Comment 1 2010-12-15 15:13:01 PST
Eric Seidel (no email)
Comment 2 2010-12-15 15:17:09 PST
Comment on attachment 76691 [details] Patch WebCore uses 4 space indent. I'm not sure how this passed the style queue.
Eric Seidel (no email)
Comment 3 2010-12-15 15:17:30 PST
Comment on attachment 76691 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=76691&action=review > WebCore/bindings/v8/V8GCController.cpp:371 > + if (object) { Early return is strongly preferred in WebKit.
anton muhin
Comment 4 2010-12-15 15:39:49 PST
anton muhin
Comment 5 2010-12-15 15:41:54 PST
(In reply to comment #2) > (From update of attachment 76691 [details]) > WebCore uses 4 space indent. I'm not sure how this passed the style queue. Thanks a lot, Eric, fixed. I am surprised as well
anton muhin
Comment 6 2010-12-15 15:42:47 PST
Fixed too, but webkit-patch upload takes a lot of time on my MBP, please, wait for 3rd patch (In reply to comment #3) > (From update of attachment 76691 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=76691&action=review > > > WebCore/bindings/v8/V8GCController.cpp:371 > > + if (object) { > > Early return is strongly preferred in WebKit.
anton muhin
Comment 7 2010-12-15 16:04:15 PST
David Levin
Comment 8 2010-12-15 16:17:17 PST
(In reply to comment #5) > (In reply to comment #2) > > (From update of attachment 76691 [details] [details]) > > WebCore uses 4 space indent. I'm not sure how this passed the style queue. > > Thanks a lot, Eric, fixed. I am surprised as well check-webkit-style doesn't check indents really. It requires a bit of "intelligence" to do this correctly even at a simple level. For example, a(b, c d); Would be indented correctly even though d would not be indented at a multiple of 4. You need to detect a statement end basically and then check to see that the indent is a multiple of 4. (To check that it is the correct multiple of 4 is more complicated because there are special rules for switch (for example).)
Eric Seidel (no email)
Comment 9 2010-12-16 15:09:42 PST
Comment on attachment 76705 [details] Patch Don't you need to remove it from the skipped list? Looks sane enough to me, but I don't fully understand the consequences of this change not being particularly well versed in V8.
Jeremy Orlow
Comment 10 2010-12-17 02:13:31 PST
Mads, can you do an unofficial review of this please?
Mads Ager
Comment 11 2010-12-17 03:35:00 PST
This looks good to me.
anton muhin
Comment 12 2010-12-17 05:59:33 PST
Thanks a lot, Mads. Guys, may I get r+, land this thing and finish CSS GC cleanup? (In reply to comment #11) > This looks good to me.
WebKit Commit Bot
Comment 13 2010-12-17 06:39:33 PST
Comment on attachment 76705 [details] Patch Clearing flags on attachment: 76705 Committed r74260: <http://trac.webkit.org/changeset/74260>
WebKit Commit Bot
Comment 14 2010-12-17 06:39:39 PST
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.