For viewless drawing, we should not create the NSView. If we attempt to create an NSView while drawing a control part in GPU Process, that may throw an exception because creating an NSView or its NSWindow should happen only on the main thread.
<rdar://problem/105762717>
rdar://105778966
Pull request: https://github.com/WebKit/WebKit/pull/10528
Committed 260726@main (d9b43d246262): <https://commits.webkit.org/260726@main> Reviewed commits have been landed. Closing PR #10528 and removing active labels.