Refactor shouldAutofocus to only call trivial Document getters
Created attachment 440590 [details] Patch
Comment on attachment 440590 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=440590&action=review > Source/WebCore/html/HTMLFormControlElement.cpp:210 > auto& document = element.document(); We really need to store this in Ref. r- because of this.
<rdar://problem/84296162>