Branch: refs/heads/webkitglib/2.44
Home: https://github.com/WebKit/WebKit
Commit: 93bde17ed761f5de54726de83ced4959303794c6
https://github.com/WebKit/WebKit/commit/93bde17ed761f5de54726de83ced4959303794c6
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2024-04-12 (Fri, 12 Apr 2024)
Changed paths:
M Source/WebCore/page/ViewportConfiguration.cpp
M Source/WebCore/page/ViewportConfiguration.h
Log Message:
-----------
Cherry-pick 276925@main (59cedf7135bc).
https://bugs.webkit.org/show_bug.cgi?id=271962
Linker error when logging ViewportConfiguration to TextStream in Release
configuration
https://bugs.webkit.org/show_bug.cgi?id=271962
rdar://125713559
Reviewed by Sihui Liu.
WebCore::operator<<(WTF::TextStream&, WebCore::ViewConfiguration const&)
is defined behind !LOG_DISABLED, which means in Release configuration,
the linker cannot find this definition.
This patch fixes the linker error by removing the relevant !LOG_DISABLED
checks around both the operator<< overload definition and the
description()/dump() declarations, since said methods are referenced by
the operator<< overload.
* Source/WebCore/page/ViewportConfiguration.cpp:
(WebCore::ViewportConfiguration::setIsKnownToLayOutWiderThanViewport):
(WebCore::ViewportConfiguration::dump const):
* Source/WebCore/page/ViewportConfiguration.h:
Canonical link: https://commits.webkit.org/276925@main
Canonical link: https://commits.webkit.org/274313.133@webkitglib/2.44
Commit: aff53249f2d491d082094a2aa57008c46e55d278
https://github.com/WebKit/WebKit/commit/aff53249f2d491d082094a2aa57008c46e55d278
Author: Erica Li <[email protected]>
Date: 2024-04-14 (Sun, 14 Apr 2024)
Changed paths:
M Source/WebCore/html/ImageDocument.cpp
Log Message:
-----------
Cherry-pick 276379@main (d036679431a5).
https://bugs.webkit.org/show_bug.cgi?id=271028
ASAN_SEGV | WebCore::LocalFrame::injectUserScripts.
rdar://124432384
https://bugs.webkit.org/show_bug.cgi?id=271028
Reviewed by Ryosuke Niwa.
Frame might be detached early, null checking before injectUserScripts from
image document.
* Source/WebCore/html/ImageDocument.cpp:
(WebCore::ImageDocument::createDocumentStructure):
Canonical link: https://commits.webkit.org/276379@main
Canonical link: https://commits.webkit.org/274313.134@webkitglib/2.44
Compare: https://github.com/WebKit/WebKit/compare/8ce83c4bf224...aff53249f2d4
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes