| Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
|
| index 45df5b185689c2c858b445a0d2596966e1ca2e97..12e42f89f906db0c7afd389dcca59df407d5d9d2 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
|
| @@ -148,7 +148,7 @@ void ScrollbarThemeMacOverlayAPI::paintTrackBackground(GraphicsContext& context,
|
|
|
| GraphicsContextStateSaver stateSaver(context);
|
| context.translate(rect.x(), rect.y());
|
| - LocalCurrentGraphicsContext localContext(&context, IntRect(IntPoint(), rect.size()));
|
| + LocalCurrentGraphicsContext localContext(context, IntRect(IntPoint(), rect.size()));
|
|
|
| CGRect frameRect = scrollbar.frameRect();
|
| ScrollbarPainter scrollbarPainter = painterForScrollbar(scrollbar);
|
| @@ -171,7 +171,7 @@ void ScrollbarThemeMacOverlayAPI::paintThumb(GraphicsContext& context, const Scr
|
|
|
| GraphicsContextStateSaver stateSaver(context);
|
| context.translate(rect.x(), rect.y());
|
| - LocalCurrentGraphicsContext localContext(&context, IntRect(IntPoint(), rect.size()));
|
| + LocalCurrentGraphicsContext localContext(context, IntRect(IntPoint(), rect.size()));
|
|
|
| ScrollbarPainter scrollbarPainter = painterForScrollbar(scrollbar);
|
| [scrollbarPainter setEnabled:scrollbar.enabled()];
|
|
|