Document::topOrigin() is defined as: SecurityOrigin& topOrigin() const final { return topDocument().securityOrigin(); }
Created attachment 440185 [details] Patch
Comment on attachment 440185 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=440185&action=review > Source/WebCore/dom/DocumentStorageAccess.cpp:92 > + auto& topSecurityOrigin = m_document.topOrigin(); topSecurityOrigin is only used once, can we remove this variable? > Source/WebCore/dom/DocumentStorageAccess.cpp:162 > + auto& topSecurityOrigin = m_document.topOrigin(); Ditto for both topSecurityOrigin and topDocument
Created attachment 440191 [details] Patch
Committed r283544 (242509@main): <https://commits.webkit.org/242509@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440191 [details].
<rdar://problem/83880206>