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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp

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/CustomElementObserver.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp
index 573ff6956f82cc6695c3fdc39da2f8e431f13b43..139d74d2dc7b4147873a1539a8b76156b49edba9 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementObserver.cpp
@@ -36,11 +36,11 @@ namespace blink {
// Maps elements to the observer watching them. At most one per
// element at a time.
-typedef WillBeHeapHashMap<RawPtrWillBeWeakMember<Element>, RawPtrWillBeMember<CustomElementObserver>> ElementObserverMap;
+typedef HeapHashMap<WeakMember<Element>, Member<CustomElementObserver>> ElementObserverMap;
static ElementObserverMap& elementObservers()
{
- DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<ElementObserverMap>, map, (adoptPtrWillBeNoop(new ElementObserverMap())));
+ DEFINE_STATIC_LOCAL(Persistent<ElementObserverMap>, map, (new ElementObserverMap()));
return *map;
}

Powered by Google App Engine
This is Rietveld 408576698