Use pointer instead of std::optional<std::reference_wrapper<>>
Created attachment 339277 [details] Patch
Comment on attachment 339277 [details] Patch Attachment 339277 [details] did not pass win-ews (win): Output: http://webkit-queues.webkit.org/results/7534850 New failing tests: http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-video.html
Created attachment 339292 [details] Archive of layout-test-results from ews206 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews206 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Committed r231288: <https://trac.webkit.org/changeset/231288>
<rdar://problem/39927186>
Re-opened since this is blocked by bug 185256
Rolled out in r231308 because r231223 was rolled out. See <https://bugs.webkit.org/show_bug.cgi?id=185159> for details.
I'll reland this change by changing std::optional<T&> to T*, which does not break anything.
Committed r231333: <https://trac.webkit.org/changeset/231333>