Changeset 71208 in webkit


Ignore:
Timestamp:
Nov 2, 2010 8:46:48 PM (14 years ago)
Author:
rolandsteiner@chromium.org
Message:

2010-11-02 Chris Guillory <chris.guillory@google.com>

Reviewed by Dmitry Titov.

Null check obj in AXObjectCache::postPlatformNotification.
https://bugs.webkit.org/show_bug.cgi?id=48896

  • accessibility/chromium/AXObjectCacheChromium.cpp: (WebCore::AXObjectCache::postPlatformNotification):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r71206 r71208  
     12010-11-02  Chris Guillory  <chris.guillory@google.com>
     2
     3        Reviewed by Dmitry Titov.
     4
     5        Null check obj in AXObjectCache::postPlatformNotification.
     6        https://bugs.webkit.org/show_bug.cgi?id=48896
     7
     8        * accessibility/chromium/AXObjectCacheChromium.cpp:
     9        (WebCore::AXObjectCache::postPlatformNotification):
     10
    1112010-11-02  Kavita Kanetkar  <kkanetkar@chromium.org>
    212
  • trunk/WebCore/accessibility/chromium/AXObjectCacheChromium.cpp

    r71198 r71208  
    5050void AXObjectCache::postPlatformNotification(AccessibilityObject* obj, AXNotification notification)
    5151{
    52     if (obj->isAccessibilityScrollbar() && notification == AXValueChanged) {
     52    if (obj && obj->isAccessibilityScrollbar() && notification == AXValueChanged) {
    5353        // Send document value changed on scrollbar value changed notification.
    5454        Scrollbar* scrollBar = static_cast<AccessibilityScrollbar*>(obj)->scrollbar();
Note: See TracChangeset for help on using the changeset viewer.