Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / webui / resources / js / cr / ui / table.js
index d561ca4..fcb81ec 100644 (file)
@@ -216,7 +216,7 @@ cr.define('cr.ui', function() {
 
     /**
      * Ensures that a given index is inside the viewport.
-     * @param {number} index The index of the item to scroll into view.
+     * @param {number} i The index of the item to scroll into view.
      * @return {boolean} Whether any scrolling was needed.
      */
     scrollIndexIntoView: function(i) {
@@ -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_));
     },
 
     /**
@@ -261,7 +261,7 @@ cr.define('cr.ui', function() {
 
     /**
      * Sort data by the given column.
-     * @param {number} index The index of the column to sort by.
+     * @param {number} i The index of the column to sort by.
      */
     sort: function(i) {
       var cm = this.columnModel_;