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

Unified Diff: Source/WebCore/rendering/RenderMenuList.cpp

Issue 10446087: Merge 117976 - Chromium AX: Crash when menulist adds selected option via document.write (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 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 | « LayoutTests/platform/chromium/accessibility/add-to-menu-list-crashes-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderMenuList.cpp
===================================================================
--- Source/WebCore/rendering/RenderMenuList.cpp (revision 118964)
+++ Source/WebCore/rendering/RenderMenuList.cpp (working copy)
@@ -119,6 +119,9 @@
createInnerBlock();
m_innerBlock->addChild(newChild, beforeChild);
ASSERT(m_innerBlock == firstChild());
+
+ if (AXObjectCache::accessibilityEnabled())
+ document()->axObjectCache()->childrenChanged(this);
}
void RenderMenuList::removeChild(RenderObject* oldChild)
« no previous file with comments | « LayoutTests/platform/chromium/accessibility/add-to-menu-list-crashes-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698