Title: [187963] trunk/Source/WebCore
- Revision
- 187963
- Author
- wenson_hs...@apple.com
- Date
- 2015-08-05 09:15:40 -0700 (Wed, 05 Aug 2015)
Log Message
Build fix after 187961
* platform/mac/ThemeMac.mm:
(WebCore::ThemeMac::drawCellOrFocusRingWithViewIntoContext):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (187962 => 187963)
--- trunk/Source/WebCore/ChangeLog 2015-08-05 16:05:55 UTC (rev 187962)
+++ trunk/Source/WebCore/ChangeLog 2015-08-05 16:15:40 UTC (rev 187963)
@@ -1,3 +1,10 @@
+2015-08-05 Wenson Hsieh <wenson_hs...@apple.com>
+
+ Build fix after 187961
+
+ * platform/mac/ThemeMac.mm:
+ (WebCore::ThemeMac::drawCellOrFocusRingWithViewIntoContext):
+
2015-08-05 Daniel Bates <daba...@apple.com>
REGRESSION (r185111): Clicking phone numbers doesn't prompt to call sometimes
Modified: trunk/Source/WebCore/platform/mac/ThemeMac.mm (187962 => 187963)
--- trunk/Source/WebCore/platform/mac/ThemeMac.mm 2015-08-05 16:05:55 UTC (rev 187962)
+++ trunk/Source/WebCore/platform/mac/ThemeMac.mm 2015-08-05 16:15:40 UTC (rev 187963)
@@ -669,7 +669,7 @@
ASSERT(drawButtonCell || drawFocusRing);
bool needsRepaint = false;
if (useImageBuffer) {
- NSRect imageBufferDrawRect = CGRectMake(buttonFocusRectOutlineWidth, buttonFocusRectOutlineWidth, inflatedRect.width(), inflatedRect.height());
+ NSRect imageBufferDrawRect = NSRect(FloatRect(buttonFocusRectOutlineWidth, buttonFocusRectOutlineWidth, inflatedRect.width(), inflatedRect.height()));
std::unique_ptr<ImageBuffer> imageBuffer = ImageBuffer::createCompatibleBuffer(inflatedRect.size() + 2 * FloatSize(buttonFocusRectOutlineWidth, buttonFocusRectOutlineWidth), deviceScaleFactor, ColorSpaceSRGB, context, false);
{
LocalCurrentGraphicsContext localContext(imageBuffer->context());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes