Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Unified Diff: third_party/WebKit/Source/web/WebNode.cpp

Issue 2880993002: Introduce AXObjectCacheBase in core/ and remove WebNode dependency (Closed)
Patch Set: Small fix Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebNode.cpp
diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp
index 4f9f48b9fde0e1ddb0ceec374a27d461aa97bb36..595b7a78f070d829669d13b9dc3b21215b5c1132 100644
--- a/third_party/WebKit/Source/web/WebNode.cpp
+++ b/third_party/WebKit/Source/web/WebNode.cpp
@@ -31,6 +31,7 @@
#include "public/web/WebNode.h"
#include "bindings/core/v8/ExceptionState.h"
+#include "core/dom/AXObjectCacheBase.h"
#include "core/dom/Document.h"
#include "core/dom/Element.h"
#include "core/dom/Node.h"
@@ -46,7 +47,6 @@
#include "core/html/HTMLElement.h"
#include "core/layout/LayoutObject.h"
#include "core/layout/LayoutPart.h"
-#include "modules/accessibility/AXObjectCacheImpl.h"
#include "modules/accessibility/AXObjectImpl.h"
#include "platform/wtf/PtrUtil.h"
#include "public/platform/WebString.h"
@@ -198,7 +198,7 @@ WebPluginContainer* WebNode::PluginContainer() const {
WebAXObject WebNode::AccessibilityObject() {
WebDocument web_document = GetDocument();
const Document* doc = GetDocument().ConstUnwrap<Document>();
- AXObjectCacheImpl* cache = ToAXObjectCacheImpl(doc->ExistingAXObjectCache());
+ AXObjectCacheBase* cache = ToAXObjectCacheBase(doc->ExistingAXObjectCache());
Node* node = Unwrap<Node>();
return cache ? WebAXObject(cache->Get(node)) : WebAXObject();
}
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698