Title: [261740] trunk/Source/WebCore
- Revision
- 261740
- Author
- andresg...@apple.com
- Date
- 2020-05-15 05:40:44 -0700 (Fri, 15 May 2020)
Log Message
Update the isolated tree only if isolated tree mode is enabled.
https://bugs.webkit.org/show_bug.cgi?id=211936
Reviewed by Chris Fleizach.
Check for isIsolatedTreeEnabled before updating the isolated tree.
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::updateIsolatedTree):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (261739 => 261740)
--- trunk/Source/WebCore/ChangeLog 2020-05-15 12:32:08 UTC (rev 261739)
+++ trunk/Source/WebCore/ChangeLog 2020-05-15 12:40:44 UTC (rev 261740)
@@ -1,3 +1,15 @@
+2020-05-15 Andres Gonzalez <andresg...@apple.com>
+
+ Update the isolated tree only if isolated tree mode is enabled.
+ https://bugs.webkit.org/show_bug.cgi?id=211936
+
+ Reviewed by Chris Fleizach.
+
+ Check for isIsolatedTreeEnabled before updating the isolated tree.
+
+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::updateIsolatedTree):
+
2020-05-15 Adrian Perez de Castro <ape...@igalia.com>
[GTK3] Bring back usage of GtkMenu for context menus
Modified: trunk/Source/WebCore/accessibility/AXObjectCache.cpp (261739 => 261740)
--- trunk/Source/WebCore/accessibility/AXObjectCache.cpp 2020-05-15 12:32:08 UTC (rev 261739)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.cpp 2020-05-15 12:40:44 UTC (rev 261740)
@@ -3119,6 +3119,10 @@
void AXObjectCache::updateIsolatedTree(AXCoreObject& object, AXNotification notification)
{
AXTRACE("AXObjectCache::updateIsolatedTree");
+
+ if (!isIsolatedTreeEnabled())
+ return;
+
AXLOG(std::make_pair(&object, notification));
AXLOG(*this);
@@ -3155,6 +3159,10 @@
void AXObjectCache::updateIsolatedTree(const Vector<std::pair<RefPtr<AXCoreObject>, AXNotification>>& notifications)
{
AXTRACE("AXObjectCache::updateIsolatedTree");
+
+ if (!isIsolatedTreeEnabled())
+ return;
+
AXLOG(*this);
if (!m_pageID)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes