Build fix after r188510
[WebKit-https.git] / Source / WebCore / platform / mac / ThemeMac.mm
index 891b7f2aa73f663376f028bd81d33880a0610ab2..51cfd0de3a3b59fe497e96a008ba8ce8bff98f08 100644 (file)
@@ -441,7 +441,7 @@ static void paintToggleButton(ControlPart buttonType, ControlStates& controlStat
     } else
         needsRepaint = ThemeMac::drawCellOrFocusRingWithViewIntoContext(toggleButtonCell.get(), context, inflatedRect, view, true, isCellFocused, useImageBuffer, deviceScaleFactor);
 #else
-    needsRepaint = ThemeMac::drawCellOrFocusRingWithViewIntoContext(toggleButtonCell, context, inflatedRect, view, true, isCellFocused, useImageBuffer, deviceScaleFactor);
+    needsRepaint = ThemeMac::drawCellOrFocusRingWithViewIntoContext(toggleButtonCell.get(), context, inflatedRect, view, true, isCellFocused, useImageBuffer, deviceScaleFactor);
 #endif
 
     [toggleButtonCell setControlView:nil];