| Index: third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp b/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
|
| index 72c9a2f308277a8dc16893ce0ed368818bc636c2..edeede24be31246515fbebddcd36f884babeb891 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemePainter.cpp
|
| @@ -26,6 +26,7 @@
|
| #include "public/platform/WebScrollbarThemePainter.h"
|
|
|
| #include "platform/graphics/GraphicsContext.h"
|
| +#include "platform/graphics/GraphicsScreen.h"
|
| #include "platform/graphics/paint/SkPictureBuilder.h"
|
| #include "platform/scroll/Scrollbar.h"
|
| #include "platform/scroll/ScrollbarTheme.h"
|
| @@ -126,6 +127,8 @@ void WebScrollbarThemePainter::paintForwardButtonEnd(WebCanvas* canvas, const We
|
|
|
| void WebScrollbarThemePainter::paintTickmarks(WebCanvas* canvas, const WebRect& rect)
|
| {
|
| + WillPaintForDevice device(m_scrollbar->screenId());
|
| +
|
| IntRect intRect(rect);
|
| SkPictureBuilder pictureBuilder(intRect);
|
| pictureBuilder.context().setDeviceScaleFactor(m_deviceScaleFactor);
|
|
|