commit | d20f8d9a716b2f64a0f53f7be939d7ab68768ac7 | [log] [tgz] |
---|---|---|
author | rune <rune@opera.com> | Mon Feb 22 07:29:48 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Feb 22 07:31:07 2016 |
tree | bb864529367c525ed2f9b5ca65a460a2f5e81836 | |
parent | 1186e0ce9d24569a366cf6b6027e6edc3a551080 [diff] |
Don't try to find a slot in a v0 shadow tree. ElementShadow::assignedSlotFor asserts that it's only called for V1 ElementShadows and doesn't null check m_slotAssignment. Guard with an if-check for V1 when assignedSlotFor from Node::assignedSlot like we already do from Node::assignedSlotForBinding. R=hayato@chromium.org,kochi@chromium.org BUG=588209 Review URL: https://codereview.chromium.org/1717053002 Cr-Commit-Position: refs/heads/master@{#376699}