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

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserverController.h

Issue 2371663002: Introduce an injection point to configure the internal pointer of WeakPtr
Patch Set: fix Created 4 years, 3 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/IntersectionObserverController.h
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverController.h b/third_party/WebKit/Source/core/dom/IntersectionObserverController.h
index 532875c871553f7d103ad6daad7e31e4d3a47fea..f2531480ce930c37dcc72c184d39fd4fc6a2dd30 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverController.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverController.h
@@ -42,7 +42,7 @@ private:
HeapHashSet<WeakMember<IntersectionObserver>> m_trackedIntersectionObservers;
// IntersectionObservers for which this is the execution context of the callback.
HeapHashSet<Member<IntersectionObserver>> m_pendingIntersectionObservers;
- WTF::WeakPtrFactory<IntersectionObserverController> m_weakPtrFactory;
+ RevocableWeakMemberFactory<IntersectionObserverController> m_weakPtrFactory;
bool m_callbackFiredWhileSuspended;
};
« no previous file with comments | « base/memory/weak_ptr_unittest.nc ('k') | third_party/WebKit/Source/core/dom/IntersectionObserverController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698