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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Logspammy WIP 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/core/html/HTMLSelectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
index 9830da4f64792410d883ba2eec74fb7ea779f764..a0f6aa0fdf3a05c2cc32e9997e79cd08e4be8066 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
@@ -743,9 +743,13 @@ void HTMLSelectElement::SetRecalcListItems() {
if (GetLayoutObject()) {
if (AXObjectCache* cache =
- GetLayoutObject()->GetDocument().ExistingAXObjectCache())
+ GetLayoutObject()->GetDocument().ExistingAXObjectCache()) {
+ LOG(INFO) << "Calling childrenChanged";
cache->ChildrenChanged(this);
+ return;
+ }
}
+ LOG(INFO) << "Didn't call childrenChanged";
}
void HTMLSelectElement::RecalcListItems() const {

Powered by Google App Engine
This is Rietveld 408576698