[iOS] Fix 0-sized NTP on cold start
When the app is launched after a cold start, the size of the collection view is 0, even if the size of the wrapper view isn't 0. This CL fixes it by setting the frame of the collectionView if it is 0. This only seems to happen when the NTP is contained in a native view. Bug: 896234 Change-Id: I4309bf35c0a3d82e2a5c6c78265f8293ff65a43c Reviewed-on: https://chromium-review.googlesource.com/c/1297360Reviewed-by:Justin Cohen <justincohen@chromium.org> Commit-Queue: Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#602313}
Showing
Please register or sign in to comment