#include "platform/animation/AnimationUtilities.h"
-namespace WebCore {
+namespace blink {
PassRefPtr<FilterOperation> FilterOperation::blend(const FilterOperation* from, const FilterOperation* to, double progress)
{
}
}
- double result = WebCore::blend(fromAmount, m_amount, progress);
+ double result = blink::blend(fromAmount, m_amount, progress);
switch (m_type) {
case HUE_ROTATE:
break;
}
}
- double result = WebCore::blend(fromAmount, m_amount, progress);
+ double result = blink::blend(fromAmount, m_amount, progress);
switch (m_type) {
case BRIGHTNESS:
case CONTRAST:
{
if (!from) {
return DropShadowFilterOperation::create(
- WebCore::blend(IntPoint(), m_location, progress),
- WebCore::blend(0, m_stdDeviation, progress),
- WebCore::blend(Color(Color::transparent), m_color, progress));
+ blink::blend(IntPoint(), m_location, progress),
+ blink::blend(0, m_stdDeviation, progress),
+ blink::blend(Color(Color::transparent), m_color, progress));
}
const DropShadowFilterOperation* fromOp = toDropShadowFilterOperation(from);
return DropShadowFilterOperation::create(
- WebCore::blend(fromOp->location(), m_location, progress),
- WebCore::blend(fromOp->stdDeviation(), m_stdDeviation, progress),
- WebCore::blend(fromOp->color(), m_color, progress));
+ blink::blend(fromOp->location(), m_location, progress),
+ blink::blend(fromOp->stdDeviation(), m_stdDeviation, progress),
+ blink::blend(fromOp->color(), m_color, progress));
}
-} // namespace WebCore
+} // namespace blink