Index: chrome/browser/resources/md_downloads/item.js |
diff --git a/chrome/browser/resources/md_downloads/item.js b/chrome/browser/resources/md_downloads/item.js |
index e16af266631c8b44515938852453fbe2cf0e93f4..603b1cd7a42cae7481493d2d10de4726e28462b8 100644 |
--- a/chrome/browser/resources/md_downloads/item.js |
+++ b/chrome/browser/resources/md_downloads/item.js |
@@ -34,12 +34,6 @@ cr.define('downloads', function() { |
}, |
}, |
- scrollbarWidth: { |
- observer: 'onScrollbarWidthChange_', |
- type: Number, |
- value: 0, |
- }, |
- |
completelyOnDisk_: { |
computed: 'computeCompletelyOnDisk_(' + |
'data_.state, data_.file_externally_removed)', |
@@ -327,20 +321,6 @@ cr.define('downloads', function() { |
}, |
/** @private */ |
- onScrollbarWidthChange_: function() { |
- if (!this.$) |
- return; |
- |
- var endCap = this.$['end-cap']; |
- endCap.style.flexBasis = ''; |
- |
- if (this.scrollbarWidth) { |
- var basis = parseInt(getComputedStyle(endCap).flexBasis, 10); |
- endCap.style.flexBasis = basis - this.scrollbarWidth + 'px'; |
- } |
- }, |
- |
- /** @private */ |
onShowClick_: function() { |
this.actionService_.show(this.data_.id); |
}, |