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

Unified Diff: Source/modules/accessibility/AXImageMapLink.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/AXImageMapLink.cpp
diff --git a/Source/modules/accessibility/AXImageMapLink.cpp b/Source/modules/accessibility/AXImageMapLink.cpp
index e02bfe68dcaafe13310872a29b8323496a98e672..27d3414ee263561bd8e05a56a97cfebb134e52a3 100644
--- a/Source/modules/accessibility/AXImageMapLink.cpp
+++ b/Source/modules/accessibility/AXImageMapLink.cpp
@@ -36,8 +36,9 @@ namespace blink {
using namespace HTMLNames;
-AXImageMapLink::AXImageMapLink()
- : m_areaElement(nullptr)
+AXImageMapLink::AXImageMapLink(AXObjectCache* axObjectCache)
+ : AXMockObject(axObjectCache)
+ , m_areaElement(nullptr)
, m_mapElement(nullptr)
{
}
@@ -53,9 +54,9 @@ void AXImageMapLink::detachFromParent()
m_mapElement = nullptr;
}
-PassRefPtr<AXImageMapLink> AXImageMapLink::create()
+PassRefPtr<AXImageMapLink> AXImageMapLink::create(AXObjectCache* axObjectCache)
{
- return adoptRef(new AXImageMapLink());
+ return adoptRef(new AXImageMapLink(axObjectCache));
}
AXObject* AXImageMapLink::computeParent() const

Powered by Google App Engine
This is Rietveld 408576698