| Index: Source/web/ChromeClientImpl.cpp
|
| diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
|
| index b248be293e416836aa62e0ffe8d0ad303f0151ce..bd693464aaf8cdd59ff49b32e91078a88757996c 100644
|
| --- a/Source/web/ChromeClientImpl.cpp
|
| +++ b/Source/web/ChromeClientImpl.cpp
|
| @@ -41,7 +41,7 @@
|
| #include "PopupContainer.h"
|
| #include "PopupMenuChromium.h"
|
| #include "RuntimeEnabledFeatures.h"
|
| -#include "WebAccessibilityObject.h"
|
| +#include "WebAXObject.h"
|
| #include "WebAutofillClient.h"
|
| #include "WebColorChooser.h"
|
| #include "WebConsoleMessage.h"
|
| @@ -121,13 +121,6 @@ static WebPopupType convertPopupType(PopupContainer::PopupType type)
|
| }
|
| }
|
|
|
| -// Converts a WebCore::AXObjectCache::AXNotification to a WebKit::WebAccessibilityNotification
|
| -static WebAccessibilityNotification toWebAccessibilityNotification(AXObjectCache::AXNotification notification)
|
| -{
|
| - // These enums have the same values; enforced in AssertMatchingEnums.cpp.
|
| - return static_cast<WebAccessibilityNotification>(notification);
|
| -}
|
| -
|
| // Converts a WebCore::AXObjectCache::AXNotification to a WebKit::WebAXEvent
|
| static WebAXEvent toWebAXEvent(AXObjectCache::AXNotification notification)
|
| {
|
| @@ -811,9 +804,7 @@ void ChromeClientImpl::postAccessibilityNotification(AccessibilityObject* obj, A
|
| if (!obj)
|
| return;
|
|
|
| - // FIXME: Remove this first call once Chromium has switched over to using the second. (http://crbug.com/269034)
|
| - m_webView->client()->postAccessibilityNotification(WebAccessibilityObject(obj), toWebAccessibilityNotification(notification));
|
| - m_webView->client()->postAccessibilityEvent(WebAccessibilityObject(obj), toWebAXEvent(notification));
|
| + m_webView->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEvent(notification));
|
| }
|
|
|
| String ChromeClientImpl::acceptLanguages()
|
|
|