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 ff44de7d9d64802a134fadff237de56943976df8..8f85137a7521a69f4cb68f373b9a624b1fcab385 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->document(); |
- if (!document || !document->topDocument().view()) |
+ if (!document || !document->view()) |
return false; |
document->view()->updateAllLifecyclePhases(); |
} |