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

Unified Diff: Source/web/WebAXObject.cpp

Issue 1307673003: Made CSSPrimitiveValue::getString() only work for String types (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@split_out_pair
Patch Set: Review feedback Created 5 years, 4 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
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index 5f4290eca28152645901b9693a0da1910cf717e6..ebed01fa439cbf0806d35f8c0c1f0b6ad3f11aff 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"
Timothy Loh 2015/08/27 06:38:49 so this include isn't need anymore?
sashab 2015/08/27 06:53:38 Done.
#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(CSSPrimitiveValue::create(computedStyle->display())->cssText());
}
bool WebAXObject::accessibilityIsIgnored() const
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698