RESOLVED FIXED 118653
Add toSVGFilterElement() and use it
https://bugs.webkit.org/show_bug.cgi?id=118653
Summary Add toSVGFilterElement() and use it
Gyuyoung Kim
Reported 2013-07-14 01:03:54 PDT
We can use toSVGFilterElement() instead of using static_cast<..> to improve readability. Beside blink also uses it.
Attachments
Patch (5.33 KB, patch)
2013-07-14 01:07 PDT, Gyuyoung Kim
no flags
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion (530.52 KB, application/zip)
2013-07-14 03:14 PDT, Build Bot
no flags
Patch for landing (5.29 KB, patch)
2013-07-14 05:18 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2013-07-14 01:07:42 PDT
Build Bot
Comment 2 2013-07-14 03:14:30 PDT
Comment on attachment 206628 [details] Patch Attachment 206628 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1063594 New failing tests: fullscreen/full-screen-iframe-with-max-width-height.html
Build Bot
Comment 3 2013-07-14 03:14:33 PDT
Created attachment 206629 [details] Archive of layout-test-results from webkit-ews-02 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-02 Port: mac-mountainlion Platform: Mac OS X 10.8.3
Gyuyoung Kim
Comment 4 2013-07-14 05:18:38 PDT
Created attachment 206631 [details] Patch for landing
Gyuyoung Kim
Comment 5 2013-07-14 05:19:40 PDT
(In reply to comment #2) > (From update of attachment 206628 [details]) > Attachment 206628 [details] did not pass mac-ews (mac): > Output: http://webkit-queues.appspot.com/results/1063594 > > New failing tests: > fullscreen/full-screen-iframe-with-max-width-height.html Looks unrelated to this patch.
WebKit Commit Bot
Comment 6 2013-07-14 06:59:53 PDT
Comment on attachment 206631 [details] Patch for landing Clearing flags on attachment: 206631 Committed r152615: <http://trac.webkit.org/changeset/152615>
WebKit Commit Bot
Comment 7 2013-07-14 06:59:56 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 8 2013-07-14 10:39:49 PDT
Comment on attachment 206631 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=206631&action=review > Source/WebCore/svg/SVGFilterElement.h:80 > + ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::filterTag)); It broke the debug builds. Could you fix it please? (Otherwise it would be great if you could try a debug build locally next time if you add an assertion, because assertions are debug only.)
Ryosuke Niwa
Comment 9 2013-07-14 18:17:39 PDT
Gyuyoung Kim
Comment 10 2013-07-14 18:44:23 PDT
(In reply to comment #8) > (From update of attachment 206631 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=206631&action=review > > > Source/WebCore/svg/SVGFilterElement.h:80 > > + ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::filterTag)); > > It broke the debug builds. Could you fix it please? > (Otherwise it would be great if you could try a debug build locally > next time if you add an assertion, because assertions are debug only.) I too often forget to check if debug build is fine. :( Sorry about that. I will check debug build in next time.
Gyuyoung Kim
Comment 11 2013-07-14 18:44:36 PDT
(In reply to comment #8) > (From update of attachment 206631 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=206631&action=review > > > Source/WebCore/svg/SVGFilterElement.h:80 > > + ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::filterTag)); > > It broke the debug builds. Could you fix it please? > (Otherwise it would be great if you could try a debug build locally > next time if you add an assertion, because assertions are debug only.) I too often forget to check if debug build is fine. :( Sorry about that. I will check debug build in next time.
Note You need to log in before you can comment on or make changes to this bug.