See https://bugs.webkit.org/show_bug.cgi?id=194530#c10: It is always save to call visitor.containsOpaqueRoot(root) with a null root pointer. It will just return false. Since we don't expect the root pointer to be null in the common case, having a null check here is also not be optimal. We'll remove this unneeded null check.
Created attachment 361893 [details] proposed patch.
Created attachment 361894 [details] proposed patch.
Comment on attachment 361894 [details] proposed patch. r=me
Comment on attachment 361894 [details] proposed patch. Clearing flags on attachment: 361894 Committed r241348: <https://trac.webkit.org/changeset/241348>
All reviewed patches have been landed. Closing bug.
<rdar://problem/48029348>