Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h |
index 6e130da47b23c26fa72e369674363a9f7a03dc61..d307561963661e2fde8c5cf41d1772e427f37ede 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h |
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h |
@@ -30,7 +30,7 @@ |
#define AXObjectCacheImpl_h |
#include <memory> |
-#include "core/dom/AXObjectCache.h" |
+#include "core/dom/AXObjectCacheBase.h" |
#include "modules/ModulesExport.h" |
#include "modules/accessibility/AXObjectImpl.h" |
#include "platform/wtf/Forward.h" |
@@ -44,14 +44,14 @@ class HTMLAreaElement; |
class FrameView; |
// This class should only be used from inside the accessibility directory. |
-class MODULES_EXPORT AXObjectCacheImpl : public AXObjectCache { |
+class MODULES_EXPORT AXObjectCacheImpl : public AXObjectCacheBase { |
WTF_MAKE_NONCOPYABLE(AXObjectCacheImpl); |
public: |
static AXObjectCache* Create(Document&); |
explicit AXObjectCacheImpl(Document&); |
- ~AXObjectCacheImpl(); |
+ virtual ~AXObjectCacheImpl(); |
DECLARE_VIRTUAL_TRACE(); |
AXObjectImpl* FocusedObject(); |
@@ -128,7 +128,7 @@ class MODULES_EXPORT AXObjectCacheImpl : public AXObjectCache { |
AXObjectImpl* GetOrCreate(AbstractInlineTextBox*); |
// will only return the AXObjectImpl if it already exists |
- AXObjectImpl* Get(Node*); |
+ AXObjectImpl* Get(Node*) override; |
AXObjectImpl* Get(LayoutObject*); |
AXObjectImpl* Get(AbstractInlineTextBox*); |