[webkit-changes] [WebKit/WebKit] 85ecf8: Allow makeString to accept ObjectIdentifiers
Alex Christensen
noreply at github.com
Wed Jan 11 23:24:39 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 85ecf81fd1b620d375ca15fb5938a1c44bffeee4
https://github.com/WebKit/WebKit/commit/85ecf81fd1b620d375ca15fb5938a1c44bffeee4
Author: Alex Christensen <achristensen at apple.com>
Date: 2023-01-11 (Wed, 11 Jan 2023)
Changed paths:
M Source/WTF/wtf/ObjectIdentifier.h
M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
Log Message:
-----------
Allow makeString to accept ObjectIdentifiers
https://bugs.webkit.org/show_bug.cgi?id=250494
rdar://104149752
Reviewed by Chris Dumez.
This will allow us to remove and stop adding a bunch of unnecessary .toUInt64() calls.
* Source/WTF/wtf/ObjectIdentifier.h:
(WTF::StringTypeAdapter<ObjectIdentifier<T>>::StringTypeAdapter):
(WTF::StringTypeAdapter<ObjectIdentifier<T>>::length const):
(WTF::StringTypeAdapter<ObjectIdentifier<T>>::is8Bit const):
(WTF::StringTypeAdapter<ObjectIdentifier<T>>::writeTo const):
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::debugName const):
Canonical link: https://commits.webkit.org/258822@main
More information about the webkit-changes
mailing list