Index: Source/core/rendering/RenderScrollbar.cpp |
diff --git a/Source/core/rendering/RenderScrollbar.cpp b/Source/core/rendering/RenderScrollbar.cpp |
index 9aefc446e99dc92bd6175ed8be3186c838979535..0a9afc05481a7bbb848da3e8dedae1b2720141d7 100644 |
--- a/Source/core/rendering/RenderScrollbar.cpp |
+++ b/Source/core/rendering/RenderScrollbar.cpp |
@@ -64,22 +64,10 @@ RenderScrollbar::RenderScrollbar(ScrollableArea* scrollableArea, ScrollbarOrient |
setFrameRect(rect); |
-#if ENABLE(OILPAN) |
- ThreadState::current()->registerPreFinalizer(*this); |
-#endif |
} |
RenderScrollbar::~RenderScrollbar() |
{ |
- // Oilpan: to be able to access the hash map that's |
- // also on the heap, a pre-destruction finalizer is used. |
-#if !ENABLE(OILPAN) |
- destroyParts(); |
-#endif |
-} |
- |
-void RenderScrollbar::destroyParts() |
-{ |
if (m_parts.isEmpty()) |
return; |
@@ -97,7 +85,6 @@ void RenderScrollbar::trace(Visitor* visitor) |
#if ENABLE(OILPAN) |
visitor->trace(m_owner); |
visitor->trace(m_owningFrame); |
- visitor->trace(m_parts); |
#endif |
Scrollbar::trace(visitor); |
} |