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

Unified Diff: Source/modules/accessibility/AXNodeObject.cpp

Issue 742353004: Implement computedRole and computedName (behind a flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Finished pulling out ScopedAXObjectCache etc. Many fprintfs remain. Created 6 years 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
Index: Source/modules/accessibility/AXNodeObject.cpp
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp
index a0041bfb7512ec08a766fb285f8a6f7c0cc2c56e..fc89337b86785784d15600a5dc80b9fbb201bdae 100644
--- a/Source/modules/accessibility/AXNodeObject.cpp
+++ b/Source/modules/accessibility/AXNodeObject.cpp
@@ -53,8 +53,8 @@ namespace blink {
using namespace HTMLNames;
-AXNodeObject::AXNodeObject(Node* node)
- : AXObject()
+AXNodeObject::AXNodeObject(Node* node, AXObjectCache* axObjectCache)
+ : AXObject(axObjectCache)
, m_ariaRole(UnknownRole)
, m_childrenDirty(false)
#if ENABLE(ASSERT)
@@ -64,9 +64,9 @@ AXNodeObject::AXNodeObject(Node* node)
{
}
-PassRefPtr<AXNodeObject> AXNodeObject::create(Node* node)
+PassRefPtr<AXNodeObject> AXNodeObject::create(Node* node, AXObjectCache* axObjectCache)
{
- return adoptRef(new AXNodeObject(node));
+ return adoptRef(new AXNodeObject(node, axObjectCache));
}
AXNodeObject::~AXNodeObject()

Powered by Google App Engine
This is Rietveld 408576698