WeakPtrFactory should populate m_ref lazily.
[WebKit-https.git] / Source / WebCore / platform / Scrollbar.cpp
index 050d4d9..9ee9381 100644 (file)
@@ -77,7 +77,6 @@ Scrollbar::Scrollbar(ScrollableArea& scrollableArea, ScrollbarOrientation orient
     , m_suppressInvalidation(false)
     , m_isAlphaLocked(false)
     , m_isCustomScrollbar(isCustomScrollbar)
-    , m_weakPtrFactory(this)
 {
     theme().registerScrollbar(*this);