Changeset 31841 in webkit


Ignore:
Timestamp:
Apr 12, 2008 1:33:19 AM (16 years ago)
Author:
hyatt@apple.com
Message:

Add a missing null check to stop crashing when a border image is examined but null.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/rendering/RenderBox.cpp

    r31837 r31841  
    481481        return;
    482482
    483     if (isInlineFlow() || style()->borderImage().image()->data() == image) {
     483    if (isInlineFlow() || style()->borderImage().image() && style()->borderImage().image()->data() == image) {
    484484        repaint();
    485485        return;
Note: See TracChangeset for help on using the changeset viewer.