| Index: third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| index 0e8687903ee022c90a0614b2199214aaf7b5df8d..953a6cee67fd65357c0cf4c7207e20a117f0eff2 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
|
| @@ -84,10 +84,9 @@ static void inertSubtreesChanged(Document& document)
|
| // tree can change inertness which means they must be added or removed from
|
| // the tree. The most foolproof way is to clear the entire tree and rebuild
|
| // it, though a more clever way is probably possible.
|
| - Document& topDocument = document.topDocument();
|
| - topDocument.clearAXObjectCache();
|
| - if (AXObjectCache* cache = topDocument.axObjectCache())
|
| - cache->childrenChanged(&topDocument);
|
| + document.clearAXObjectCache();
|
| + if (AXObjectCache* cache = document.axObjectCache())
|
| + cache->childrenChanged(&document);
|
| }
|
|
|
| inline HTMLDialogElement::HTMLDialogElement(Document& document)
|
|
|