| Index: Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp
|
| diff --git a/Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp b/Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp
|
| index 6e3d3f04a80adf06499477bb272374520f8c71e8..0e53c351a8dbfd144ed68289a7b87ad11117170f 100644
|
| --- a/Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp
|
| +++ b/Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp
|
| @@ -107,10 +107,10 @@ void ScrollbarThemeNonMacCommon::paintTickmarks(GraphicsContext* context, Scroll
|
| if (!tickmarks.size())
|
| return;
|
|
|
| - DrawingRecorder recorder(*context, *scrollbar, DisplayItem::ScrollbarTickmarks, rect);
|
| - if (recorder.canUseCachedDrawing())
|
| + if (DrawingRecorder::useCachedDrawingIfPossible(*context, *scrollbar, DisplayItem::ScrollbarTickmarks))
|
| return;
|
|
|
| + DrawingRecorder recorder(*context, *scrollbar, DisplayItem::ScrollbarTickmarks, rect);
|
| GraphicsContextStateSaver stateSaver(*context);
|
| context->setShouldAntialias(false);
|
|
|
|
|