New issue
Advanced search Search tips

Issue 747257 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

Code cleanup for iOS bookmark: check if the scrolling offset's 2 / 3.0 conversion is needed.

Project Member Reported by martiw@chromium.org, Jul 21 2017

Issue description

In ios/chrome/browser/ui/bookmarks/bookmark_collection_view.mm,
when storing/restoring the scrolling position of the bookmark panel.
there is a conversion (for wide LangscapeMode):
position = position * 2 / 3.0 (when restoring)
                or  * 3 / 2.0 (when storing)
inside the function contentPositionInPortraitOrientation and applyContentPosition.

I was wondering if that conversion is still needed? or just a useless code.
 
Components: UI>Browser>Bookmarks
Status: Assigned (was: Untriaged)

Comment 2 by noyau@chromium.org, Oct 12 2017

Owner: ----
Status: Available (was: Assigned)
Status: WontFix (was: Available)
We now store the number of the top most visible cell instead of the offset, this code no longer exists.

Sign in to add a comment