Commit d06e8553 authored by eric@webkit.org's avatar eric@webkit.org

2010-01-28 Steve Block <steveblock@google.com>

        Reviewed by David Levin.

        Add stub for AXObjectCache::contentChanged when HAVE(ACCESSIBILITY) is not defined
        https://bugs.webkit.org/show_bug.cgi?id=34271

        No new tests, build fix only.

        * accessibility/AXObjectCache.cpp: Modified. Added HAVE(ACCESSIBILITY) guards around contentChanged
        * accessibility/AXObjectCache.h: Modified.
        (WebCore::AXObjectCache::contentChanged): Added stub

git-svn-id: svn://svn.chromium.org/blink/trunk@54041 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 02c25dcc
2010-01-28 Steve Block <steveblock@google.com>
Reviewed by David Levin.
Add stub for AXObjectCache::contentChanged when HAVE(ACCESSIBILITY) is not defined
https://bugs.webkit.org/show_bug.cgi?id=34271
No new tests, build fix only.
* accessibility/AXObjectCache.cpp: Modified. Added HAVE(ACCESSIBILITY) guards around contentChanged
* accessibility/AXObjectCache.h: Modified.
(WebCore::AXObjectCache::contentChanged): Added stub
2010-01-28 Steve Block <steveblock@google.com>
Reviewed by David Levin.
......@@ -351,13 +351,15 @@ void AXObjectCache::removeAXID(AccessibilityObject* object)
m_idsInUse.remove(objID);
}
#if HAVE(ACCESSIBILITY)
void AXObjectCache::contentChanged(RenderObject* renderer)
{
AccessibilityObject* object = getOrCreate(renderer);
if (object)
object->contentChanged();
}
#endif
void AXObjectCache::childrenChanged(RenderObject* renderer)
{
if (!renderer)
......
......@@ -152,6 +152,7 @@ inline void AXObjectCache::postNotification(RenderObject*, AXNotification, bool
inline void AXObjectCache::postPlatformNotification(AccessibilityObject*, AXNotification) { }
inline void AXObjectCache::handleFocusedUIElementChanged(RenderObject*, RenderObject*) { }
inline void AXObjectCache::handleScrolledToAnchor(const Node*) { }
inline void AXObjectCache::contentChanged(RenderObject*) { }
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment