Reland "[WebLayer] Fix crash when top controls view has 0 height"
This is a reland of e26a5125 This conflicted with http://crrev.com/c/1888389 and caused a compile error. Original change's description: > [WebLayer] Fix crash when top controls view has 0 height > > This happens because the adapter and layer for the top controls is only > created once height and width are > 0. We were assuming this had already > been created in setTopControlsOffset(). > > Change-Id: Idf104f9d5c951c1fa8719fa30661dceae59b4887 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890492 > Commit-Queue: Clark DuVall <cduvall@chromium.org> > Reviewed-by: Scott Violet <sky@chromium.org> > Cr-Commit-Position: refs/heads/master@{#710897} TBR=sky@chromium.org Change-Id: I482a241fcb43fe2bff3ec8f315cfed5ee266e828 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890959Reviewed-by:Clark DuVall <cduvall@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#711013}
Showing
Please register or sign in to comment