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

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

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed) 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/AXMenuListPopup.h ('k') | Source/modules/accessibility/AXNodeObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXMenuListPopup.cpp
diff --git a/Source/modules/accessibility/AXMenuListPopup.cpp b/Source/modules/accessibility/AXMenuListPopup.cpp
index a24f425cbaa4e383d0768b40012adb7dc08935ff..ffbab4a16a53e8536e240e28e275c59f24050b1e 100644
--- a/Source/modules/accessibility/AXMenuListPopup.cpp
+++ b/Source/modules/accessibility/AXMenuListPopup.cpp
@@ -141,12 +141,12 @@ void AXMenuListPopup::didUpdateActiveOption(int optionIndex)
AXObjectCacheImpl& cache = axObjectCache();
if (m_activeIndex != optionIndex && m_activeIndex >= 0 && m_activeIndex < static_cast<int>(m_children.size())) {
- RefPtr<AXObject> previousChild = m_children[m_activeIndex].get();
+ RefPtrWillBeRawPtr<AXObject> previousChild = m_children[m_activeIndex].get();
cache.postNotification(previousChild.get(), AXObjectCacheImpl::AXMenuListItemUnselected);
}
if (optionIndex >= 0 && optionIndex < static_cast<int>(m_children.size())) {
- RefPtr<AXObject> child = m_children[optionIndex].get();
+ RefPtrWillBeRawPtr<AXObject> child = m_children[optionIndex].get();
cache.postNotification(child.get(), AXObjectCacheImpl::AXFocusedUIElementChanged);
cache.postNotification(child.get(), AXObjectCacheImpl::AXMenuListItemSelected);
}
« no previous file with comments | « Source/modules/accessibility/AXMenuListPopup.h ('k') | Source/modules/accessibility/AXNodeObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698