Changeset 64947 in webkit


Ignore:
Timestamp:
Aug 8, 2010 1:07:20 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-08-08 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

cross_fuzz WebCore::SelectionController::isFocusedAndActive ReadAV@NULL (9e865de49b1800ec790dcc35d8ebd069)
https://bugs.webkit.org/show_bug.cgi?id=43040

The pointer from Document to Frame can be null. See http://webkit.org/coding/major-objects.html.

  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r64946 r64947  
     12010-08-08  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        cross_fuzz WebCore::SelectionController::isFocusedAndActive ReadAV@NULL (9e865de49b1800ec790dcc35d8ebd069)
     6        https://bugs.webkit.org/show_bug.cgi?id=43040
     7
     8        The pointer from Document to Frame can be null.  See http://webkit.org/coding/major-objects.html.
     9
     10        * css/CSSStyleSelector.cpp:
     11        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
     12
    1132010-08-08  Adam Barth  <abarth@webkit.org>
    214
  • trunk/WebCore/css/CSSStyleSelector.cpp

    r64677 r64947  
    25182518            }
    25192519            case CSSSelector::PseudoFocus:
    2520                 if (e && e->focused() && e->document()->frame()->selection()->isFocusedAndActive())
     2520                if (e && e->focused() && e->document()->frame() && e->document()->frame()->selection()->isFocusedAndActive())
    25212521                    return true;
    25222522                break;
Note: See TracChangeset for help on using the changeset viewer.