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