| Index: Source/web/LinkHighlight.cpp
|
| diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp
|
| index e20c72f98d0b3a39357dd21c9caa9b05ebf010ba..279d1a5688377b4f4d80c545c9a31f5e71add8fa 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"
|
| @@ -289,7 +289,7 @@ void LinkHighlight::startHighlightAnimationIfNeeded()
|
| // For layout tests we don't fade out.
|
| curve->add(WebFloatKeyframe(fadeDuration + extraDurationRequired, blink::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, blink::WebCompositorAnimation::TargetProperty)
|
| {
|
| }
|
|
|
| -void LinkHighlight::notifyAnimationFinished(double, blink::WebAnimation::TargetProperty)
|
| +void LinkHighlight::notifyAnimationFinished(double, blink::WebCompositorAnimation::TargetProperty)
|
| {
|
| // Since WebViewImpl may hang on to us for a while, make sure we
|
| // release resources as soon as possible.
|
|
|