Commit 18bc6bc8 authored by jchaffraix@webkit.org's avatar jchaffraix@webkit.org

Implicit conversion double to float in ShadowBlur::adjustBlurRadius

https://bugs.webkit.org/show_bug.cgi?id=68722

Reviewed by Simon Fraser.

* platform/graphics/ShadowBlur.cpp:
(WebCore::ShadowBlur::adjustBlurRadius): Added 2 explicit
conversions.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c5aed241
2011-09-23 Julien Chaffraix <jchaffraix@webkit.org>
Implicit conversion double to float in ShadowBlur::adjustBlurRadius
https://bugs.webkit.org/show_bug.cgi?id=68722
Reviewed by Simon Fraser.
* platform/graphics/ShadowBlur.cpp:
(WebCore::ShadowBlur::adjustBlurRadius): Added 2 explicit
conversions.
2011-09-23 Dan Bernstein <mitz@apple.com>
<rdar://problem/10178576> REGRESSION (r95391): Crash in -[WebCascadeList objectAtIndex:] when a font-family list contains missing fonts
......@@ -356,7 +356,7 @@ void ShadowBlur::adjustBlurRadius(GraphicsContext* context)
return;
AffineTransform transform = context->getCTM();
m_blurRadius.scale(1 / transform.xScale(), 1 / transform.yScale());
m_blurRadius.scale(1 / static_cast<float>(transform.xScale()), 1 / static_cast<float>(transform.yScale()));
}
IntSize ShadowBlur::blurredEdgeSize() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment