RESOLVED FIXED 137622
Use is<>() / downcast<>() for RenderElement
https://bugs.webkit.org/show_bug.cgi?id=137622
Summary Use is<>() / downcast<>() for RenderElement
Chris Dumez
Reported 2014-10-10 12:58:21 PDT
Use is<>() / downcast<>() for RenderElement
Attachments
Patch (71.65 KB, patch)
2014-10-10 13:01 PDT, Chris Dumez
no flags
Patch (71.88 KB, patch)
2014-10-10 13:27 PDT, Chris Dumez
no flags
Patch (72.09 KB, patch)
2014-10-10 14:00 PDT, Chris Dumez
no flags
Patch (72.13 KB, patch)
2014-10-10 15:28 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2014-10-10 13:01:47 PDT
Chris Dumez
Comment 2 2014-10-10 13:27:42 PDT
Chris Dumez
Comment 3 2014-10-10 14:00:52 PDT
Benjamin Poulain
Comment 4 2014-10-10 15:02:46 PDT
Comment on attachment 239647 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239647&action=review > Source/WebCore/rendering/RenderCounter.cpp:624 > + counterName ? WebCore::counterMaps().get(downcast<WebCore::RenderElement>(current))->get(identifier) : (WebCore::CounterNode*)1 : (WebCore::CounterNode*)0); What the heck! > Source/WebCore/rendering/svg/SVGRenderSupport.cpp:263 > + downcast<RenderSVGText>(*child).setNeedsTextMetricsUpdate(); > + downcast<RenderSVGText>(*child).setNeedsPositioningValuesUpdate(); IMHO, it would be cleaner to put downcast<RenderSVGText>(*child) in a temporary here.
Chris Dumez
Comment 5 2014-10-10 15:28:46 PDT
WebKit Commit Bot
Comment 6 2014-10-10 16:06:55 PDT
Comment on attachment 239654 [details] Patch Clearing flags on attachment: 239654 Committed r174619: <http://trac.webkit.org/changeset/174619>
WebKit Commit Bot
Comment 7 2014-10-10 16:07:00 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.