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

Unified Diff: ui/webui/resources/js/cr/ui/table.js

Issue 552663003: Use requestAnimationFrame() instead of vendor-specific version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/table.js
diff --git a/ui/webui/resources/js/cr/ui/table.js b/ui/webui/resources/js/cr/ui/table.js
index d561ca4996f10d28274568b9db6874a7b16a084d..7e6364d25bd3ac071e1d2ec5834fa10ad3e3d3d3 100644
--- a/ui/webui/resources/js/cr/ui/table.js
+++ b/ui/webui/resources/js/cr/ui/table.js
@@ -248,7 +248,7 @@ cr.define('cr.ui', function() {
* @param {Event} e The 'change' or 'splice' event.
*/
handleChangeList_: function(e) {
- webkitRequestAnimationFrame(this.header_.updateWidth.bind(this.header_));
+ requestAnimationFrame(this.header_.updateWidth.bind(this.header_));
},
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698