Index: Source/web/WebAXObject.cpp |
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp |
index 5b55f1105b8e8863736dcd2ab0efe478a309cb9d..05113ed0f64bc645bc98a823d675a940f4c2a017 100644 |
--- a/Source/web/WebAXObject.cpp |
+++ b/Source/web/WebAXObject.cpp |
@@ -274,12 +274,12 @@ bool WebAXObject::isEnabled() const |
return m_private->isEnabled(); |
} |
-bool WebAXObject::isExpanded() const |
+WebAXExpanded WebAXObject::isExpanded() const |
{ |
if (isDetached()) |
- return 0; |
+ return WebAXExpandedUndefined; |
- return m_private->isExpanded(); |
+ return static_cast<WebAXExpanded>(m_private->isExpanded()); |
} |
bool WebAXObject::isFocused() const |