Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Unified Diff: third_party/WebKit/Source/devtools/front_end/animation/AnimationScreenshotPopover.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698