Chromium Code Reviews| Index: third_party/WebKit/Source/modules/accessibility/AXObject.cpp |
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp |
| index 93d5da6757c41e10e7d36ddac4e1e0927bdb45e7..fa5d1439879eee70d3087366286f91c720e0bf82 100644 |
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp |
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp |
| @@ -37,6 +37,7 @@ |
| #include "core/html/HTMLFrameOwnerElement.h" |
| #include "core/html/parser/HTMLParserIdioms.h" |
| #include "core/layout/LayoutTheme.h" |
| +#include "core/style/ComputedStyleConstants.h" |
| #include "modules/accessibility/AXObjectCacheImpl.h" |
| #include "platform/UserGestureIndicator.h" |
| #include "platform/text/PlatformLocale.h" |
| @@ -900,8 +901,9 @@ void AXObject::elementsFromAttribute(HeapVector<Member<Element>>& elements, cons |
| TreeScope& scope = getNode()->treeScope(); |
| for (const auto& id : ids) { |
| - if (Element* idElement = scope.getElementById(AtomicString(id))) |
| + if (Element* idElement = scope.getElementById(AtomicString(id))) { |
|
aboxhall
2016/07/08 17:12:35
Something weird happened here, does this file need
|
| elements.append(idElement); |
| + } |
| } |
| } |