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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert histograms.xml 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
Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
index fb07f28b4abfafacda7581fc879b9c700d00c7a9..1b6ab5ef6c28c75678b977f027a140049ba61dc1 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
@@ -39,6 +39,7 @@
#include "core/frame/Settings.h"
#include "core/html/HTMLAreaElement.h"
#include "core/html/HTMLCanvasElement.h"
+#include "core/html/HTMLFrameOwnerElement.h"
#include "core/html/HTMLImageElement.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/HTMLLabelElement.h"
@@ -591,11 +592,8 @@ void AXObjectCacheImpl::TextChanged(AXObjectImpl* obj) {
if (!obj)
return;
- bool parent_already_exists = obj->ParentObjectIfExists();
obj->TextChanged();
PostNotification(obj, AXObjectCacheImpl::kAXTextChanged);
- if (parent_already_exists)
- obj->NotifyIfIgnoredValueChanged();
}
void AXObjectCacheImpl::UpdateCacheAfterNodeIsAttached(Node* node) {

Powered by Google App Engine
This is Rietveld 408576698