| Index: Source/platform/scroll/ScrollbarTheme.cpp
|
| diff --git a/Source/platform/scroll/ScrollbarTheme.cpp b/Source/platform/scroll/ScrollbarTheme.cpp
|
| index 71eb81f8d67906f2812518b444d528f38669c043..a74393eb342882f277b58b0a4399d938fae14aee 100644
|
| --- a/Source/platform/scroll/ScrollbarTheme.cpp
|
| +++ b/Source/platform/scroll/ScrollbarTheme.cpp
|
| @@ -215,10 +215,10 @@ void ScrollbarTheme::paintScrollCorner(GraphicsContext* context, const DisplayIt
|
| if (cornerRect.isEmpty())
|
| return;
|
|
|
| - DrawingRecorder recorder(*context, displayItemClient, DisplayItem::ScrollbarCorner, cornerRect);
|
| - if (recorder.canUseCachedDrawing())
|
| + if (DrawingRecorder::useCachedDrawingIfPossible(*context, displayItemClient, DisplayItem::ScrollbarCorner))
|
| return;
|
|
|
| + DrawingRecorder recorder(*context, displayItemClient, DisplayItem::ScrollbarCorner, cornerRect);
|
| #if OS(MACOSX)
|
| context->fillRect(cornerRect, Color::white);
|
| #else
|
|
|