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 57c8450..7bbf85b 100644 (file)
@@ -1,5 +1,12 @@
 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
         https://bugs.webkit.org/show_bug.cgi?id=147867
 
index 891b7f2..51cfd0d 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];