Title: [218532] trunk/Source/WebCore
- Revision
- 218532
- Author
- [email protected]
- Date
- 2017-06-19 22:19:44 -0700 (Mon, 19 Jun 2017)
Log Message
AX: Remove redundant AXObjectCache::textChanged(RenderObject*).
https://bugs.webkit.org/show_bug.cgi?id=173579
<rdar://problem/32865367>
Reviewed by Antti Koivisto.
All calls go through textChanged(Node*) method.
* accessibility/AXObjectCache.cpp:
* accessibility/AXObjectCache.h:
(WebCore::AXObjectCache::getOrCreate):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (218531 => 218532)
--- trunk/Source/WebCore/ChangeLog 2017-06-20 04:20:52 UTC (rev 218531)
+++ trunk/Source/WebCore/ChangeLog 2017-06-20 05:19:44 UTC (rev 218532)
@@ -1,3 +1,17 @@
+2017-06-19 Zalan Bujtas <[email protected]>
+
+ AX: Remove redundant AXObjectCache::textChanged(RenderObject*).
+ https://bugs.webkit.org/show_bug.cgi?id=173579
+ <rdar://problem/32865367>
+
+ Reviewed by Antti Koivisto.
+
+ All calls go through textChanged(Node*) method.
+
+ * accessibility/AXObjectCache.cpp:
+ * accessibility/AXObjectCache.h:
+ (WebCore::AXObjectCache::getOrCreate):
+
2017-06-19 Darin Adler <[email protected]>
Merge MediaDevicesRequest and MediaDevicesEnumerationRequest to tighten up code and object lifetime
Modified: trunk/Source/WebCore/accessibility/AXObjectCache.cpp (218531 => 218532)
--- trunk/Source/WebCore/accessibility/AXObjectCache.cpp 2017-06-20 04:20:52 UTC (rev 218531)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.cpp 2017-06-20 05:19:44 UTC (rev 218532)
@@ -804,11 +804,6 @@
textChanged(getOrCreate(node));
}
-void AXObjectCache::textChanged(RenderObject* renderer)
-{
- textChanged(getOrCreate(renderer));
-}
-
void AXObjectCache::textChanged(AccessibilityObject* obj)
{
if (!obj)
Modified: trunk/Source/WebCore/accessibility/AXObjectCache.h (218531 => 218532)
--- trunk/Source/WebCore/accessibility/AXObjectCache.h 2017-06-20 04:20:52 UTC (rev 218531)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.h 2017-06-20 05:19:44 UTC (rev 218532)
@@ -169,7 +169,6 @@
void selectedChildrenChanged(RenderObject*);
// Called by a node when text or a text equivalent (e.g. alt) attribute is changed.
void textChanged(Node*);
- void textChanged(RenderObject*);
// Called when a node has just been attached, so we can make sure we have the right subclass of AccessibilityObject.
void updateCacheAfterNodeIsAttached(Node*);
@@ -463,7 +462,6 @@
inline AccessibilityObject* AXObjectCache::get(Node*) { return nullptr; }
inline AccessibilityObject* AXObjectCache::get(Widget*) { return nullptr; }
inline AccessibilityObject* AXObjectCache::getOrCreate(AccessibilityRole) { return nullptr; }
-inline AccessibilityObject* AXObjectCache::getOrCreate(RenderObject*) { return nullptr; }
inline AccessibilityObject* AXObjectCache::getOrCreate(Node*) { return nullptr; }
inline AccessibilityObject* AXObjectCache::getOrCreate(Widget*) { return nullptr; }
inline AccessibilityObject* AXObjectCache::rootObject() { return nullptr; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes