Index: third_party/WebKit/Source/web/WebAXObject.cpp |
diff --git a/third_party/WebKit/Source/web/WebAXObject.cpp b/third_party/WebKit/Source/web/WebAXObject.cpp |
index 18b82a2567520e7fe9342e589acb7d8b3358b80f..4270f0681719a0ff226d4405880650b7ffb99765 100644 |
--- a/third_party/WebKit/Source/web/WebAXObject.cpp |
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp |
@@ -121,6 +121,14 @@ int WebAXObject::axID() const |
return m_private->axObjectID(); |
} |
+int WebAXObject::generateAXID() const |
+{ |
+ if (isDetached()) |
+ return -1; |
+ |
+ return m_private->axObjectCache().platformGenerateAXID(); |
+} |
+ |
bool WebAXObject::updateLayoutAndCheckValidity() |
{ |
if (!isDetached()) { |