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 ca85de8e918953e8013f5a6ad7e3a2385646cc57..b892249013a7350b5f45a2c2d1844f6a1618953d 100644 |
--- a/third_party/WebKit/Source/web/WebAXObject.cpp |
+++ b/third_party/WebKit/Source/web/WebAXObject.cpp |
@@ -124,7 +124,7 @@ bool WebAXObject::updateLayoutAndCheckValidity() |
{ |
if (!isDetached()) { |
Document* document = m_private->getDocument(); |
- if (!document || !document->topDocument().view()) |
+ if (!document || !document->view()) |
return false; |
document->view()->updateAllLifecyclePhases(); |
} |