Skip to content
  • commit-queue@webkit.org's avatar
    NULL ptr in WebCore::RenderSVGInlineText::localCaretRect · 9d7c6654
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=75851
    
    Patch by Stephen Chenney <schenney@chromium.org> on 2012-01-17
    Reviewed by Ryosuke Niwa.
    
    .:
    
    Added a check for null box in localCaretRect, to match test in other
    implementations. Adding a manual test because the crash is not
    reproducible in DRT.
    
    * ManualTests/svg-modify-deleted-selection.svg: Added.
    
    Source/WebCore:
    
    Added a check for null box in localCaretRect, to match test in other
    implementations. Adding a manual test because the crash is not reproducible
    in DRT.
    
    Test: ManualTests/svg-modify-deleted-selection.svg
    
    * rendering/svg/RenderSVGInlineText.cpp:
    (WebCore::RenderSVGInlineText::localCaretRect):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9d7c6654