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

Unified Diff: third_party/WebKit/Source/core/dom/ElementDataCache.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, 10 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/ElementDataCache.h
diff --git a/third_party/WebKit/Source/core/dom/ElementDataCache.h b/third_party/WebKit/Source/core/dom/ElementDataCache.h
index fba63ecaaf4a5a0be6f5d4cd95713390aee6100e..ed62bd45114e9d3ad6cd84e59c41d19e69daac54 100644
--- a/third_party/WebKit/Source/core/dom/ElementDataCache.h
+++ b/third_party/WebKit/Source/core/dom/ElementDataCache.h
@@ -40,20 +40,18 @@ namespace blink {
class Attribute;
class ShareableElementData;
-class ElementDataCache final : public NoBaseWillBeGarbageCollected<ElementDataCache> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(ElementDataCache);
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ElementDataCache)
+class ElementDataCache final : public GarbageCollected<ElementDataCache> {
public:
- static PassOwnPtrWillBeRawPtr<ElementDataCache> create() { return adoptPtrWillBeNoop(new ElementDataCache); }
+ static RawPtr<ElementDataCache> create() { return (new ElementDataCache); }
- PassRefPtrWillBeRawPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
+ RawPtr<ShareableElementData> cachedShareableElementDataWithAttributes(const Vector<Attribute>&);
DECLARE_TRACE();
private:
ElementDataCache();
- typedef WillBeHeapHashMap<unsigned, RefPtrWillBeMember<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
+ typedef HeapHashMap<unsigned, Member<ShareableElementData>, AlreadyHashed> ShareableElementDataCache;
ShareableElementDataCache m_shareableElementDataCache;
};

Powered by Google App Engine
This is Rietveld 408576698