RESOLVED FIXED 57335
Clean up bidiNext by abstracting repeated code
https://bugs.webkit.org/show_bug.cgi?id=57335
Summary Clean up bidiNext by abstracting repeated code
Eric Seidel (no email)
Reported 2011-03-29 07:04:15 PDT
Clean up bidiNext by abstracting repeated code
Attachments
Patch (6.23 KB, patch)
2011-03-29 07:05 PDT, Eric Seidel (no email)
no flags
Patch for landing (6.21 KB, patch)
2011-03-29 09:06 PDT, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2011-03-29 07:05:40 PDT
Ryosuke Niwa
Comment 2 2011-03-29 07:15:31 PDT
Comment on attachment 87310 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=87310&action=review > Source/WebCore/rendering/InlineIterator.h:91 > + using namespace WTF::Unicode; Is it a common practice in WebKit to do "using namespace" inside a function? > Source/WebCore/rendering/InlineIterator.h:111 > + if (!resolver || !object->isRenderInline()) We should assert that object is not NULL or add an early exit.
Eric Seidel (no email)
Comment 3 2011-03-29 07:19:51 PDT
(In reply to comment #2) > (From update of attachment 87310 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=87310&action=review > > > Source/WebCore/rendering/InlineIterator.h:91 > > + using namespace WTF::Unicode; > > Is it a common practice in WebKit to do "using namespace" inside a function? No. But it seems common in the bidi code. > > Source/WebCore/rendering/InlineIterator.h:111 > > + if (!resolver || !object->isRenderInline()) > > We should assert that object is not NULL or add an early exit. OK. will do.
Eric Seidel (no email)
Comment 4 2011-03-29 09:06:24 PDT
Created attachment 87340 [details] Patch for landing
WebKit Commit Bot
Comment 5 2011-03-29 10:33:42 PDT
Comment on attachment 87340 [details] Patch for landing Clearing flags on attachment: 87340 Committed r82275: <http://trac.webkit.org/changeset/82275>
WebKit Commit Bot
Comment 6 2011-03-29 10:33:46 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 7 2011-03-29 11:12:31 PDT
http://trac.webkit.org/changeset/82275 might have broken Leopard Intel Debug (Tests)
Note You need to log in before you can comment on or make changes to this bug.