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

Unified Diff: Source/core/accessibility/AXObjectCache.cpp

Issue 14763003: HashTraits<RefPtr<P> >::PeekType should be raw pointer for better performance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 | « Source/core/accessibility/AXObjectCache.h ('k') | Source/core/css/CSSImageGeneratorValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXObjectCache.cpp
diff --git a/Source/core/accessibility/AXObjectCache.cpp b/Source/core/accessibility/AXObjectCache.cpp
index f9d270d80d4a0e841a7751dce6240bd177e9e7e5..1a215a7fa3a4098cb6b69fe915a86f8bba39f1af 100644
--- a/Source/core/accessibility/AXObjectCache.cpp
+++ b/Source/core/accessibility/AXObjectCache.cpp
@@ -192,7 +192,7 @@ AccessibilityObject* AXObjectCache::get(Widget* widget)
if (!axID)
return 0;
- return m_objects.get(axID).get();
+ return m_objects.get(axID);
}
AccessibilityObject* AXObjectCache::get(RenderObject* renderer)
@@ -205,7 +205,7 @@ AccessibilityObject* AXObjectCache::get(RenderObject* renderer)
if (!axID)
return 0;
- return m_objects.get(axID).get();
+ return m_objects.get(axID);
}
AccessibilityObject* AXObjectCache::get(Node* node)
@@ -228,12 +228,12 @@ AccessibilityObject* AXObjectCache::get(Node* node)
}
if (renderID)
- return m_objects.get(renderID).get();
+ return m_objects.get(renderID);
if (!nodeID)
return 0;
- return m_objects.get(nodeID).get();
+ return m_objects.get(nodeID);
}
// FIXME: This probably belongs on Node.
@@ -465,7 +465,7 @@ void AXObjectCache::remove(AXID axID)
return;
// first fetch object to operate some cleanup functions on it
- AccessibilityObject* obj = m_objects.get(axID).get();
+ AccessibilityObject* obj = m_objects.get(axID);
if (!obj)
return;
« no previous file with comments | « Source/core/accessibility/AXObjectCache.h ('k') | Source/core/css/CSSImageGeneratorValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698