Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ea2dd1db499db3e958418d462bc62b51aa1c1ba4
https://github.com/WebKit/WebKit/commit/ea2dd1db499db3e958418d462bc62b51aa1c1ba4
Author: Charlie Wolfe <[email protected]>
Date: 2023-08-01 (Tue, 01 Aug 2023)
Changed paths:
M Source/WebCore/platform/ProcessQualified.h
M
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm
Log Message:
-----------
Remove the extra string allocation in
RemoteLayerTreeDrawingArea::addRootFrame()
https://bugs.webkit.org/show_bug.cgi?id=259652
rdar://113145706
Reviewed by Alex Christensen.
Introduce StringTypeAdapter to WebCore::ProcessQualified to remove the extra
allocation.
* Source/WebCore/platform/ProcessQualified.h:
(WTF::ProcessQualifiedStringTypeAdapter::length const):
(WTF::ProcessQualifiedStringTypeAdapter::is8Bit const):
(WTF::ProcessQualifiedStringTypeAdapter::writeTo const):
(WTF::ProcessQualifiedStringTypeAdapter::ProcessQualifiedStringTypeAdapter):
Canonical link: https://commits.webkit.org/266467@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes