m_viewLayoutSize exists in both WebPage and ViewportConfiguration. However, they mean different things (ViewportConfiguration’s m_viewLayoutSize is about the size of the platform view, and WebPage’s m_viewLayoutSize is about special the autosizing/autolayout mode on macOS that’s guarded by SPI). This makes some existing viewport configuration logic difficult to refactor and fix.
Created attachment 376031 [details] Patch
(This is motivated by the fix for <rdar://problem/52694257>).
Comment on attachment 376031 [details] Patch Clearing flags on attachment: 376031 Committed r248522: <https://trac.webkit.org/changeset/248522>
All reviewed patches have been landed. Closing bug.