diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 00:15:28 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 00:15:28 +0000 |
commit | 6c8678878f86770d65148fafd0a061efd661509f (patch) | |
tree | 94ffd8afef512939475281152e54ebfefa77a438 | |
parent | a11728e89e8292d22c2d1d601e5e25d29c0cd3c3 (diff) | |
download | chromium_src-6c8678878f86770d65148fafd0a061efd661509f.zip chromium_src-6c8678878f86770d65148fafd0a061efd661509f.tar.gz chromium_src-6c8678878f86770d65148fafd0a061efd661509f.tar.bz2 |
Remove some unnecessary style recalc.
BUG=56278
Review URL: http://codereview.chromium.org/3393015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60133 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/ntp/most_visited.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/resources/ntp/most_visited.js b/chrome/browser/resources/ntp/most_visited.js index c5f1967..98f3317 100644 --- a/chrome/browser/resources/ntp/most_visited.js +++ b/chrome/browser/resources/ntp/most_visited.js @@ -605,11 +605,6 @@ var MostVisited = (function() { a.style.backgroundImage = url('chrome://favicon/' + item.url); a.className = 'item'; this.miniview.appendChild(span); - - if ((a.offsetLeft + a.offsetWidth) > this.miniview.offsetWidth) { - this.miniview.removeChild(span); - return; - } } updateMiniviewClipping(this.miniview); }, |