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

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, 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/ElementDataCache.h
diff --git a/third_party/WebKit/Source/core/dom/ElementDataCache.h b/third_party/WebKit/Source/core/dom/ElementDataCache.h
index fba63ecaaf4a5a0be6f5d4cd95713390aee6100e..e75fe4450e30e03ef0b7657bc6de59d2a6abd1f7 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 adoptPtrWillBeNoop(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;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementData.cpp ('k') | third_party/WebKit/Source/core/dom/ElementDataCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698