Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 3a1981bc031046ce0b6779f4b965aa3e0eb6b868..731da988a78f50a4e1776e307ddce789c5890f3d 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -55,6 +55,7 @@ |
#include "core/page/FrameTree.h" |
#include "core/page/Page.h" |
#include "core/page/scrolling/ScrollingCoordinator.h" |
+#include "core/paint/ScrollbarPainter.h" |
#include "core/rendering/RenderCounter.h" |
#include "core/rendering/RenderEmbeddedObject.h" |
#include "core/rendering/RenderLayer.h" |
@@ -2298,7 +2299,7 @@ void FrameView::paintScrollCorner(GraphicsContext* context, const IntRect& corne |
bool needsBackgorund = m_frame->isMainFrame(); |
if (needsBackgorund) |
context->fillRect(cornerRect, baseBackgroundColor()); |
- m_scrollCorner->paintIntoRect(context, cornerRect.location(), cornerRect); |
+ ScrollbarPainter::paintIntoRect(m_scrollCorner, context, cornerRect.location(), cornerRect); |
return; |
} |