Chromium Code Reviews| Index: Source/web/WebAXObject.cpp |
| diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp |
| index 5f4290eca28152645901b9693a0da1910cf717e6..1d313ce7dfc62235315cd95a8797bc47e67d3c2a 100644 |
| --- a/Source/web/WebAXObject.cpp |
| +++ b/Source/web/WebAXObject.cpp |
| @@ -31,6 +31,7 @@ |
| #include "config.h" |
| #include "public/web/WebAXObject.h" |
| +#include "core/CSSValueKeywords.h" |
| #include "core/HTMLNames.h" |
| #include "core/css/CSSPrimitiveValueMappings.h" |
| #include "core/dom/Document.h" |
| @@ -1239,7 +1240,7 @@ WebString WebAXObject::computedStyleDisplay() const |
| if (!computedStyle) |
| return WebString(); |
| - return WebString(CSSPrimitiveValue::create(computedStyle->display())->getStringValue()); |
| + return WebString(String(getValueName(CSSPrimitiveValue::create(computedStyle->display())->getValueID()))); |
|
Timothy Loh
2015/08/27 01:30:09
->cssText()?
sashab
2015/08/27 06:30:16
This whole creation of CSSPrimitiveValue isn't act
|
| } |
| bool WebAXObject::accessibilityIsIgnored() const |