commit | 9cbcfd7866bbaff0c4b3c4c8508b7c97b46d6e6a | [log] [tgz] |
---|---|---|
author | pdr@chromium.org <pdr@chromium.org> | Wed Mar 04 08:17:24 2015 |
committer | pdr@chromium.org <pdr@chromium.org> | Wed Mar 04 08:17:24 2015 |
tree | 0a55de852582b5edad55a54415c3f76307db9251 | |
parent | b317635b05c2d6b5bccdbb378cc6714dd9fde383 [diff] |
Fix an NPE in SVGFEImageElement SVGFEImageElement::notifyFinished did not properly handle having a null parent. This crash would not happen if isSVGFilterElement(parent) had been used instead of isSVGFilterElement(*parent). This patch refactors this code to be robust to a null parent and adds a CF-based test to prove it works. BUG=461151 Review URL: https://codereview.chromium.org/972903002 git-svn-id: svn://svn.chromium.org/blink/trunk@191263 bbb929c8-8fbe-4397-9dbb-9b2b20218538