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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 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
Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
index a8ed70acee68f4ace8307eb5c74586060fe9d262..166ade344d1b784ca49c5c68b308d4c3280437a9 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h
@@ -36,6 +36,7 @@
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
+#include <memory>
namespace blink {
@@ -227,7 +228,7 @@ private:
// want to own that ID. This is *unvalidated*, it includes possible duplicates.
// This is used so that when an element with an ID is added to the tree or changes
// its ID, we can quickly determine if it affects an aria-owns relationship.
- HashMap<String, OwnPtr<HashSet<AXID>>> m_idToAriaOwnersMapping;
+ HashMap<String, std::unique_ptr<HashSet<AXID>>> m_idToAriaOwnersMapping;
Timer<AXObjectCacheImpl> m_notificationPostTimer;
HeapVector<std::pair<Member<AXObject>, AXNotification>> m_notificationsToPost;

Powered by Google App Engine
This is Rietveld 408576698