Fix blank page after changing theme
Getting the value of a null IntPropertyKey from a PropertyModel returns 0. This behavior causes the StaticLayout not setting the tab correctly when the tab id is 0, which leads to the blank page issue. This CL fixes this issue by initializing the TAB_ID IntPropertyKey to Tab.INVALID_TAB_ID. Bug: 1108693 Change-Id: I929b16327c2b7f57e7acd698ed235eadfdc0bbe2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2327187Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Mei Liang <meiliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#792864}
Showing
Please register or sign in to comment