Crash accessing null renderer inside WebCore::DeleteSelectionCommand::doApply
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jul 2016 19:41:47 +0000 (19:41 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Jul 2016 19:41:47 +0000 (19:41 +0000)
commit66fa71eabcd71827a1e0f7040c06ed2faebba364
treeeb092f8f8d9c498b29306ac06699a65f5838b3f9
parentb4f89f4c92947d621cbb710bbdd82e37a589dd46
Crash accessing null renderer inside WebCore::DeleteSelectionCommand::doApply
https://bugs.webkit.org/show_bug.cgi?id=160011

Reviewed by Chris Dumez.

Add a null pointer check for renderer() call.

Unfortunately no new tests since we don't have a reproduction.

* editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::doApply):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/editing/DeleteSelectionCommand.cpp