Index: Source/web/WebAXObject.cpp |
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp |
index 918d0bb5c2821ac2f281fff9ecdca5b72441d846..f303d3eeb470ae6a83d92a0db1f962538efdcbe5 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()); |
Mike West
2014/10/29 15:25:05
Without compile asserts verifying that WebAXExpand
|
} |
bool WebAXObject::isFocused() const |