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 45f7075fbb40301cf02d032036dbd0f65acb8c56..1fd598aef52491a91bbef2d9ebb19d98c9323a18 100644 |
--- a/third_party/WebKit/Source/web/WebAXObject.cpp |
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp |
@@ -1119,7 +1119,7 @@ bool WebAXObject::hasComputedStyle() const |
Document* document = m_private->getDocument(); |
if (document) |
- document->updateLayoutTree(); |
+ document->updateStyleAndLayoutTree(); |
Node* node = m_private->getNode(); |
if (!node) |
@@ -1135,7 +1135,7 @@ WebString WebAXObject::computedStyleDisplay() const |
Document* document = m_private->getDocument(); |
if (document) |
- document->updateLayoutTree(); |
+ document->updateStyleAndLayoutTree(); |
Node* node = m_private->getNode(); |
if (!node) |