+2014-05-08 Tim Horton <timothy_horton@apple.com>
+
+ Fix the iOS build after r168476.
+
+ * platform/graphics/mac/GraphicsContextMac.mm:
+ (WebCore::GraphicsContext::drawFocusRing):
+
2014-05-08 Bem Jones-Bey <bjonesbe@adobe.com>
[CSS Shapes] Shapes do not resolve dimensions specified in viewport units
CGContextAddPath(context, focusRingPath);
return wkDrawFocusRingAtTime(context, timeOffset);
}
+#endif // !PLATFORM(IOS)
void GraphicsContext::drawFocusRing(const Path& path, int /* width */, int /* offset */, const Color&)
{
+#if PLATFORM(MAC)
if (paintingDisabled() || path.isNull())
return;
drawFocusRingToContext(platformContext(), path.platformPath());
+#else
+ UNUSED_PARAM(path);
+#endif
}
-#endif // !PLATFORM(IOS)
#if PLATFORM(MAC)
void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, double timeOffset, bool& needsRedraw)