ui/list.js: prevent from position calculation with wrong position.
cr.ui.List.ensureAllItemSizesInCache() has manipulate elements and it has sometimes changed the scroll position and/or the client height unexceptionally. To prevent it, this CL moves reading of the positions before ensureAllItemSizesInCache(). BUG=110140 TEST=manual on taskmanager. Review URL: http://codereview.chromium.org/9318012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120032 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment