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

Unified Diff: Source/WebCore/editing/atk/FrameSelectionAtk.cpp

Issue 12703031: Revert 146726 "AXObjectCache gets recreated during document tear..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 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: Source/WebCore/editing/atk/FrameSelectionAtk.cpp
===================================================================
--- Source/WebCore/editing/atk/FrameSelectionAtk.cpp (revision 146890)
+++ Source/WebCore/editing/atk/FrameSelectionAtk.cpp (working copy)
@@ -89,11 +89,7 @@
return;
RenderObject* focusedNode = m_selection.end().containerNode()->renderer();
- AXObjectCache* cache = m_frame->document()->existingAXObjectCache();
- if (!cache)
- return;
-
- AccessibilityObject* accessibilityObject = cache->getOrCreate(focusedNode);
+ AccessibilityObject* accessibilityObject = m_frame->document()->axObjectCache()->getOrCreate(focusedNode);
if (!accessibilityObject)
return;
« no previous file with comments | « Source/WebCore/editing/InsertNodeBeforeCommand.cpp ('k') | Source/WebCore/editing/chromium/FrameSelectionChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698