summaryrefslogtreecommitdiffstats
path: root/cc/blink/web_layer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/blink/web_layer_impl.cc')
-rw-r--r--cc/blink/web_layer_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc
index 2210a9e..88601b5 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -278,6 +278,10 @@ void WebLayerImpl::pauseAnimation(int animation_id, double time_offset) {
layer_->PauseAnimation(animation_id, time_offset);
}
+void WebLayerImpl::abortAnimation(int animation_id) {
+ layer_->AbortAnimation(animation_id);
+}
+
bool WebLayerImpl::hasActiveAnimation() {
return layer_->HasActiveAnimation();
}