Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: third_party/WebKit/Source/web/WebAXObject.cpp

Issue 1761633002: One accessibility tree per frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix one Mac test expectation Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698