| Index: Source/core/paint/ThemePainterMac.mm
|
| diff --git a/Source/core/paint/ThemePainterMac.mm b/Source/core/paint/ThemePainterMac.mm
|
| index 32d82c6f05224fc987402176fc1f4bfe539c0274..fb735903860bb2f710c1a2be43d4e297fa2f7b8f 100644
|
| --- a/Source/core/paint/ThemePainterMac.mm
|
| +++ b/Source/core/paint/ThemePainterMac.mm
|
| @@ -245,7 +245,7 @@ bool ThemePainterMac::paintProgressBar(LayoutObject* layoutObject, const PaintIn
|
| return true;
|
|
|
| IntRect clipRect = IntRect(IntPoint(), inflatedRect.size());
|
| - LocalCurrentGraphicsContext localContext(imageBuffer->context(), &clipRect, clipRect);
|
| + LocalCurrentGraphicsContext localContext(imageBuffer->canvas(), 1, &clipRect, clipRect);
|
| CGContextRef cgContext = localContext.cgContext();
|
| HIThemeDrawTrack(&trackInfo, 0, cgContext, kHIThemeOrientationNormal);
|
|
|
|
|