| Index: Source/web/LinkHighlight.cpp
|
| diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp
|
| index 09d9b1fb3eed0aec0af4b5f153badc2ca5ccfcb0..251507bc60117717c3667958ccf3a7dd60e3e896 100644
|
| --- a/Source/web/LinkHighlight.cpp
|
| +++ b/Source/web/LinkHighlight.cpp
|
| @@ -40,7 +40,7 @@
|
| #include "core/rendering/style/ShadowData.h"
|
| #include "platform/graphics/Color.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebAnimationCurve.h"
|
| +#include "public/platform/WebCompositorAnimationCurve.h"
|
| #include "public/platform/WebCompositorSupport.h"
|
| #include "public/platform/WebFloatAnimationCurve.h"
|
| #include "public/platform/WebFloatPoint.h"
|
| @@ -287,9 +287,9 @@ void LinkHighlight::startHighlightAnimationIfNeeded()
|
| if (extraDurationRequired)
|
| curve->add(WebFloatKeyframe(extraDurationRequired, startOpacity));
|
| // For layout tests we don't fade out.
|
| - curve->add(WebFloatKeyframe(fadeDuration + extraDurationRequired, blink::layoutTestMode() ? startOpacity : 0));
|
| + curve->add(WebFloatKeyframe(fadeDuration + extraDurationRequired, layoutTestMode() ? startOpacity : 0));
|
|
|
| - OwnPtr<WebAnimation> animation = adoptPtr(compositorSupport->createAnimation(*curve, WebAnimation::TargetPropertyOpacity));
|
| + OwnPtr<WebCompositorAnimation> animation = adoptPtr(compositorSupport->createAnimation(*curve, WebCompositorAnimation::TargetPropertyOpacity));
|
|
|
| m_contentLayer->layer()->setDrawsContent(true);
|
| m_contentLayer->layer()->addAnimation(animation.leakPtr());
|
| @@ -306,11 +306,11 @@ void LinkHighlight::clearGraphicsLayerLinkHighlightPointer()
|
| }
|
| }
|
|
|
| -void LinkHighlight::notifyAnimationStarted(double, blink::WebAnimation::TargetProperty)
|
| +void LinkHighlight::notifyAnimationStarted(double, WebCompositorAnimation::TargetProperty)
|
| {
|
| }
|
|
|
| -void LinkHighlight::notifyAnimationFinished(double, blink::WebAnimation::TargetProperty)
|
| +void LinkHighlight::notifyAnimationFinished(double, WebCompositorAnimation::TargetProperty)
|
| {
|
| // Since WebViewImpl may hang on to us for a while, make sure we
|
| // release resources as soon as possible.
|
|
|