Index: Source/core/rendering/RenderLayerScrollableArea.h |
diff --git a/Source/core/rendering/RenderLayerScrollableArea.h b/Source/core/rendering/RenderLayerScrollableArea.h |
index 449d18c9359313f291a6a1e5ef0653c407c5aafc..520b325e9b9f062375fd5b33958d5217d715be28 100644 |
--- a/Source/core/rendering/RenderLayerScrollableArea.h |
+++ b/Source/core/rendering/RenderLayerScrollableArea.h |
@@ -198,7 +198,7 @@ private: |
LayoutUnit horizontalScrollbarStart(int minX) const; |
IntSize scrollbarOffset(const Scrollbar*) const; |
- PassRefPtr<Scrollbar> createScrollbar(ScrollbarOrientation); |
+ PassRefPtrWillBeRawPtr<Scrollbar> createScrollbar(ScrollbarOrientation); |
void destroyScrollbar(ScrollbarOrientation); |
void setHasHorizontalScrollbar(bool hasScrollbar); |
@@ -245,8 +245,8 @@ private: |
IntPoint m_cachedOverlayScrollbarOffset; |
// For areas with overflow, we have a pair of scrollbars. |
- RefPtr<Scrollbar> m_hBar; |
- RefPtr<Scrollbar> m_vBar; |
+ RefPtrWillBePersistent<Scrollbar> m_hBar; |
+ RefPtrWillBePersistent<Scrollbar> m_vBar; |
// Renderers to hold our custom scroll corner. |
RawPtrWillBePersistent<RenderScrollbarPart> m_scrollCorner; |