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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h
index 1585def5cdcc8cd3947d5a17c7f687ca012790e4..6db3e1346aa3e4a58fc3f2383cd08db27c208e81 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeCandidateMap.h
@@ -41,18 +41,17 @@
namespace blink {
class CustomElementUpgradeCandidateMap final : public CustomElementObserver {
- USING_FAST_MALLOC_WILL_BE_REMOVED(CustomElementUpgradeCandidateMap);
WTF_MAKE_NONCOPYABLE(CustomElementUpgradeCandidateMap);
public:
- static PassOwnPtrWillBeRawPtr<CustomElementUpgradeCandidateMap> create();
+ static RawPtr<CustomElementUpgradeCandidateMap> create();
~CustomElementUpgradeCandidateMap() override;
// API for CustomElementRegistrationContext to save and take candidates
- typedef WillBeHeapLinkedHashSet<RawPtrWillBeWeakMember<Element>> ElementSet;
+ typedef HeapLinkedHashSet<WeakMember<Element>> ElementSet;
void add(const CustomElementDescriptor&, Element*);
- PassOwnPtrWillBeRawPtr<ElementSet> takeUpgradeCandidatesFor(const CustomElementDescriptor&);
+ RawPtr<ElementSet> takeUpgradeCandidatesFor(const CustomElementDescriptor&);
DECLARE_VIRTUAL_TRACE();
@@ -61,10 +60,10 @@ private:
void elementWasDestroyed(Element*) override;
- typedef WillBeHeapHashMap<RawPtrWillBeWeakMember<Element>, CustomElementDescriptor> UpgradeCandidateMap;
+ typedef HeapHashMap<WeakMember<Element>, CustomElementDescriptor> UpgradeCandidateMap;
UpgradeCandidateMap m_upgradeCandidates;
- typedef WillBeHeapHashMap<CustomElementDescriptor, OwnPtrWillBeMember<ElementSet>> UnresolvedDefinitionMap;
+ typedef HeapHashMap<CustomElementDescriptor, Member<ElementSet>> UnresolvedDefinitionMap;
UnresolvedDefinitionMap m_unresolvedDefinitions;
};

Powered by Google App Engine
This is Rietveld 408576698