Index: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
index eb2e4846a0e7a768aef7ce276443f7e79efc6912..c54bccc98d498d8a73324bc088aec2405a66d309 100644 |
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
@@ -37,16 +37,6 @@ |
namespace blink { |
-RawPtr<Scrollbar> Scrollbar::create(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size, HostWindow* hostWindow) |
-{ |
- return new Scrollbar(scrollableArea, orientation, size, hostWindow); |
-} |
- |
-RawPtr<Scrollbar> Scrollbar::createForTesting(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize size, ScrollbarTheme* theme) |
-{ |
- return new Scrollbar(scrollableArea, orientation, size, nullptr, theme); |
-} |
- |
Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, HostWindow* hostWindow, ScrollbarTheme* theme) |
: m_scrollableArea(scrollableArea) |
, m_orientation(orientation) |