Index: third_party/WebKit/Source/devtools/front_end/animation/AnimationScreenshotPopover.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/animation/AnimationScreenshotPopover.js b/third_party/WebKit/Source/devtools/front_end/animation/AnimationScreenshotPopover.js |
index 679f9d2c071393daaebc6e397e0a498669de41e0..977d765fd5ec46eb339984e0e56d9de02815bba6 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/animation/AnimationScreenshotPopover.js |
+++ b/third_party/WebKit/Source/devtools/front_end/animation/AnimationScreenshotPopover.js |
@@ -24,11 +24,17 @@ WebInspector.AnimationScreenshotPopover = function(images) |
}; |
WebInspector.AnimationScreenshotPopover.prototype = { |
+ /** |
+ * @override |
+ */ |
wasShown: function() |
{ |
this._rafId = this.contentElement.window().requestAnimationFrame(this._changeFrame.bind(this)); |
}, |
+ /** |
+ * @override |
+ */ |
willHide: function() |
{ |
this.contentElement.window().cancelAnimationFrame(this._rafId); |