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

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: Update generic test expectations 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 4f14f3e06d7d086d7831e67c7dd784f6ffde375d..b90b45c2dbcd3216e4eed5a598134e9d96ab3a88 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
@@ -38,6 +38,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"
@@ -588,11 +589,8 @@ void AXObjectCacheImpl::TextChanged(AXObject* 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