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

Unified Diff: Source/modules/accessibility/AXSVGRoot.cpp

Issue 1213203002: Move AXObjectCache::remove so it is after ContainerNode::detach Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.cpp ('k') | Source/modules/accessibility/AXScrollView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXSVGRoot.cpp
diff --git a/Source/modules/accessibility/AXSVGRoot.cpp b/Source/modules/accessibility/AXSVGRoot.cpp
index 3ff6f9698b4ede2c70d7cd158bde2354537e1924..3b5fe2f9fb9d6d13620f9bdf4130d36464ad4956 100644
--- a/Source/modules/accessibility/AXSVGRoot.cpp
+++ b/Source/modules/accessibility/AXSVGRoot.cpp
@@ -59,6 +59,7 @@ void AXSVGRoot::setParent(AXObject* parent)
AXObject* AXSVGRoot::computeParent() const
{
+ ASSERT(!isDetached());
// If a parent was set because this is a remote SVG resource, use that
// but otherwise, we should rely on the standard layout tree for the parent.
if (m_parent)
« no previous file with comments | « Source/modules/accessibility/AXNodeObject.cpp ('k') | Source/modules/accessibility/AXScrollView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698