RESOLVED FIXED 135781
Refactor ShapeOutsideInfo so it isn't mutated for each line
https://bugs.webkit.org/show_bug.cgi?id=135781
Summary Refactor ShapeOutsideInfo so it isn't mutated for each line
Bem Jones-Bey
Reported 2014-08-08 17:44:24 PDT
Refactor ShapeOutsideInfo so it isn't mutated for each line
Attachments
Patch (18.82 KB, patch)
2014-08-08 17:54 PDT, Bem Jones-Bey
no flags
Patch (18.91 KB, patch)
2014-08-08 21:10 PDT, Bem Jones-Bey
no flags
Patch (18.91 KB, patch)
2014-08-12 11:01 PDT, Bem Jones-Bey
no flags
Patch (18.87 KB, patch)
2014-08-12 13:12 PDT, Bem Jones-Bey
no flags
Patch (18.84 KB, patch)
2014-08-13 11:37 PDT, Bem Jones-Bey
no flags
Bem Jones-Bey
Comment 1 2014-08-08 17:54:44 PDT
Bem Jones-Bey
Comment 2 2014-08-08 21:10:10 PDT
Created attachment 236330 [details] Patch Rebased so it will actually apply.
Bem Jones-Bey
Comment 3 2014-08-12 11:01:00 PDT
Created attachment 236454 [details] Patch Rearrange bool members of ShapeOutsideDeltas to get more efficient layout.
Zoltan Horvath
Comment 4 2014-08-12 11:27:01 PDT
Comment on attachment 236454 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236454&action=review > Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp:336 > + return m_shapeOutsideDeltas; You don't need this return.
Bem Jones-Bey
Comment 5 2014-08-12 13:03:19 PDT
Comment on attachment 236454 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236454&action=review >> Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp:336 >> + return m_shapeOutsideDeltas; > > You don't need this return. You're right. I'll fix that.
Bem Jones-Bey
Comment 6 2014-08-12 13:12:41 PDT
Created attachment 236462 [details] Patch Remove extra return statement
Zoltan Horvath
Comment 7 2014-08-12 22:50:07 PDT
Comment on attachment 236462 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236462&action=review r=me > Source/WebCore/rendering/shapes/ShapeOutsideInfo.h:47 > + WTF_MAKE_FAST_ALLOCATED; Since ShapeOutsideDeltas isn't instantiated by operator new, you don't need to make it fast allocated.
Bem Jones-Bey
Comment 8 2014-08-13 11:37:46 PDT
Created attachment 236538 [details] Patch Remove unneeded fast allocation for ShapeOutsideDeltas
WebKit Commit Bot
Comment 9 2014-08-13 12:05:37 PDT
Comment on attachment 236538 [details] Patch Clearing flags on attachment: 236538 Committed r172529: <http://trac.webkit.org/changeset/172529>
WebKit Commit Bot
Comment 10 2014-08-13 12:05:40 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.