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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.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/page/scrolling/ScrollingCoordinator.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
index 1c78677da9dee0cef7a7cfc8f5114e69837cab75..44aba893123a49e7822262feef3be30524f0059c 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -52,11 +52,10 @@ class ScrollableArea;
class CompositorAnimationTimeline;
class WebLayerTreeView;
-class CORE_EXPORT ScrollingCoordinator final : public NoBaseWillBeGarbageCollectedFinalized<ScrollingCoordinator> {
+class CORE_EXPORT ScrollingCoordinator final : public GarbageCollectedFinalized<ScrollingCoordinator> {
WTF_MAKE_NONCOPYABLE(ScrollingCoordinator);
- USING_FAST_MALLOC_WILL_BE_REMOVED(ScrollingCoordinator);
public:
- static PassOwnPtrWillBeRawPtr<ScrollingCoordinator> create(Page*);
+ static RawPtr<ScrollingCoordinator> create(Page*);
~ScrollingCoordinator();
DECLARE_TRACE();
@@ -129,7 +128,7 @@ protected:
bool isForMainFrame(ScrollableArea*) const;
bool isForViewport(ScrollableArea*) const;
- RawPtrWillBeMember<Page> m_page;
+ Member<Page> m_page;
// Dirty flags used to idenfity what really needs to be computed after compositing is updated.
bool m_scrollGestureRegionIsDirty;
@@ -155,7 +154,7 @@ private:
OwnPtr<CompositorAnimationTimeline> m_programmaticScrollAnimatorTimeline;
- using ScrollbarMap = WillBeHeapHashMap<RawPtrWillBeMember<ScrollableArea>, OwnPtr<WebScrollbarLayer>>;
+ using ScrollbarMap = HeapHashMap<Member<ScrollableArea>, OwnPtr<WebScrollbarLayer>>;
ScrollbarMap m_horizontalScrollbars;
ScrollbarMap m_verticalScrollbars;
HashSet<const PaintLayer*> m_layersWithTouchRects;

Powered by Google App Engine
This is Rietveld 408576698