Commit f3293d40 authored by Aaron Leventhal's avatar Aaron Leventhal Committed by Commit Bot

Ensure node attachment is safe

Bug: None
Change-Id: I38d4bbba6a1d1ef731a4c3e8cd897ac8e26083ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2167414
Commit-Queue: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#762764}
parent 45b00267
......@@ -940,6 +940,7 @@ void AXObjectCacheImpl::DocumentTitleChanged() {
}
void AXObjectCacheImpl::UpdateCacheAfterNodeIsAttached(Node* node) {
SCOPED_DISALLOW_LIFECYCLE_TRANSITION(node->GetDocument());
// Calling get() will update the AX object if we had an AXNodeObject but now
// we need an AXLayoutObject, because it was reparented to a location outside
// of a canvas.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment