Build fix after r188510
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Aug 2015 17:57:25 +0000 (17:57 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Aug 2015 17:57:25 +0000 (17:57 +0000)
* platform/mac/ThemeMac.mm:
(WebCore::paintToggleButton): Pass a raw pointer to drawCellOrFocusRingWithViewIntoContext.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/mac/ThemeMac.mm

index 57c8450a874aec88e1215e2f8b12a22702aff11a..7bbf85b9f4855497708fdcdc35d42894fddc33f6 100644 (file)
@@ -1,3 +1,10 @@
+2015-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Build fix after r188510
+
+        * platform/mac/ThemeMac.mm:
+        (WebCore::paintToggleButton): Pass a raw pointer to drawCellOrFocusRingWithViewIntoContext.
+
 2015-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         Search fields should scale when rendering while zoomed
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];