| Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp
|
| index faa26e70d0fcb9be6abeda753e7b9dbe6e38f7d2..30ae3f526d88a29189bef65fb32872e117c59cba 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMock.cpp
|
| @@ -51,10 +51,10 @@ IntRect ScrollbarThemeMock::trackRect(const ScrollbarThemeClient& scrollbar, boo
|
|
|
| void ScrollbarThemeMock::paintTrackBackground(GraphicsContext& context, const Scrollbar& scrollbar, const IntRect& trackRect)
|
| {
|
| - if (DrawingRecorder::useCachedDrawingIfPossible(context, scrollbar, DisplayItem::ScrollbarTrackBackground))
|
| + if (DrawingRecorder::useCachedDrawingIfPossible(context, scrollbar, DisplayItem::kScrollbarTrackBackground))
|
| return;
|
|
|
| - DrawingRecorder recorder(context, scrollbar, DisplayItem::ScrollbarTrackBackground, trackRect);
|
| + DrawingRecorder recorder(context, scrollbar, DisplayItem::kScrollbarTrackBackground, trackRect);
|
| context.fillRect(trackRect, scrollbar.enabled() ? Color::lightGray : Color(0xFFE0E0E0));
|
| }
|
|
|
| @@ -63,10 +63,10 @@ void ScrollbarThemeMock::paintThumb(GraphicsContext& context, const Scrollbar& s
|
| if (!scrollbar.enabled())
|
| return;
|
|
|
| - if (DrawingRecorder::useCachedDrawingIfPossible(context, scrollbar, DisplayItem::ScrollbarThumb))
|
| + if (DrawingRecorder::useCachedDrawingIfPossible(context, scrollbar, DisplayItem::kScrollbarThumb))
|
| return;
|
|
|
| - DrawingRecorder recorder(context, scrollbar, DisplayItem::ScrollbarThumb, thumbRect);
|
| + DrawingRecorder recorder(context, scrollbar, DisplayItem::kScrollbarThumb, thumbRect);
|
| context.fillRect(thumbRect, Color::darkGray);
|
| }
|
|
|
|
|