Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2b9732f54c5ebdee73f07ff84eb0d3cc618733f9
https://github.com/WebKit/WebKit/commit/2b9732f54c5ebdee73f07ff84eb0d3cc618733f9
Author: Darin Adler <[email protected]>
Date: 2026-04-09 (Thu, 09 Apr 2026)
Changed paths:
M Source/JavaScriptCore/bytecode/DeleteByVariant.cpp
M Source/JavaScriptCore/bytecode/InlineCacheCompiler.h
M Source/JavaScriptCore/bytecode/Operands.h
M Source/JavaScriptCore/runtime/CacheableIdentifier.h
M Source/JavaScriptCore/yarr/RegularExpression.cpp
M Source/JavaScriptCore/yarr/RegularExpression.h
M Source/WebCore/Modules/webdatabase/DatabaseDetails.h
M Source/WebCore/contentextensions/MutableRange.h
M Source/WebCore/css/calc/CSSCalcTree.h
M Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h
M Source/WebCore/css/values/primitives/CSSPrimitiveNumericOrKeyword.h
M Source/WebCore/dom/SerializedNode.h
M Source/WebCore/dom/ViewportArguments.h
M Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h
M Source/WebCore/layout/integration/inline/InlineIteratorLineBoxModernPath.h
M Source/WebCore/page/LinkDecorationFilteringData.h
M Source/WebCore/platform/LayoutUnit.h
M Source/WebCore/platform/PasteboardCustomData.cpp
M Source/WebCore/platform/Site.h
M Source/WebCore/platform/graphics/ImageFrame.cpp
M Source/WebCore/platform/graphics/ImageFrame.h
M Source/WebCore/platform/graphics/Path.h
M Source/WebCore/platform/graphics/Region.cpp
M Source/WebCore/platform/graphics/cg/ShareableSpatialImage.h
M Source/WebCore/platform/graphics/iso/ISOVTTCue.h
M Source/WebCore/rendering/HitTestLocation.cpp
M Source/WebCore/style/Styleable.h
M Source/WebCore/style/calc/StyleCalculationTree.h
Log Message:
-----------
Use default constructors and assignment operators more
https://bugs.webkit.org/show_bug.cgi?id=311607
rdar://174203280
Reviewed by Chris Dumez.
* Source/JavaScriptCore/bytecode/DeleteByVariant.cpp: Use default
for copy constructor and assignment operator.
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.h: Removed
explicit default move constructor and assignment operator since
they will be generated if we don't declare them.
* Source/JavaScriptCore/bytecode/Operands.h: Removed explicit
default copy constructor and assignment operator since they
will be generated if we don't declare them.
* Source/JavaScriptCore/runtime/CacheableIdentifier.h: Simplified
the std::nullptr_t constructor. Removed explicit default copy and
move constructors and assignment operators since they will be
generated if we don't declare them.
* Source/JavaScriptCore/yarr/RegularExpression.cpp: Use default
for the copy and move constructors and assignment operators.
* Source/JavaScriptCore/yarr/RegularExpression.h: Added declaration
of move constructor and assignment operator so we can avoid
reference count churn.
* Source/WebCore/Modules/webdatabase/DatabaseDetails.h: Removed
copy constructor and assigment operator since they will be
generated if we don't declare them.
* Source/WebCore/contentextensions/MutableRange.h: Removed unused
TypedMutableRange typedef. Removed move constructor and assignment
operator since they will be generated if we don't declare them.
* Source/WebCore/css/calc/CSSCalcTree.h: Removed move constructor
and assignment operator since they will be generated if we don't
declare them.
* Source/WebCore/css/values/primitives/CSSPrimitiveNumeric.h:
Removed copy and move constructors and assignment operators since
they will be generated if we don't declare them.
* Source/WebCore/css/values/primitives/CSSPrimitiveNumericOrKeyword.h:
Removed copy and move constructors and assignment operators since
they will be generated if we don't declare them.
* Source/WebCore/dom/SerializedNode.h: Removed explicit default copy and
move constructors and assignment operators since they will be generated if
we don't declare them.
* Source/WebCore/dom/ViewportArguments.h: Removed explicit default copy
and move constructors and assignment operators since they will be generated
if we don't declare them.
* Source/WebCore/layout/integration/inline/InlineIteratorLineBoxLegacyPath.h:
Removed explicit default copy and move constructors and assignment
operators since they will be generated if we don't declare them.
* Source/WebCore/layout/integration/inline/InlineIteratorLineBoxModernPath.h:
Removed explicit default copy and move constructors and assignment
operators since they will be generated if we don't declare them.
* Source/WebCore/page/LinkDecorationFilteringData.h:
Removed explicit default copy constructor and assignment operator and
move constructor and assignment operator since they will be generated
if we don't declare them.
* Source/WebCore/platform/LayoutUnit.h: Removed unusual and unnecessary
const float& argument type.
* Source/WebCore/platform/PasteboardCustomData.cpp: Use default for copy
constructor.
* Source/WebCore/platform/Site.h: Removed explicit default copy constructor
and assignment operator since they will be generated if we don't declare them.
* Source/WebCore/platform/graphics/ImageFrame.cpp: Use default for copy
constructor and assignment operator.
* Source/WebCore/platform/graphics/ImageFrame.h: Removed inline definition of
copy constructor.
* Source/WebCore/platform/graphics/Path.h: Removed copy and move constructors
and assignment operators since they will be generated if we don't declare them.
* Source/WebCore/platform/graphics/Region.cpp: Use default for move
constructor and assignment operator.
* Source/WebCore/platform/graphics/cg/ShareableSpatialImage.h: Removed explicit
default copy and move constructors and assignment operators since they will be
generated if we don't declare them.
* Source/WebCore/platform/graphics/iso/ISOVTTCue.h: Removed explicit
default copy and move assignment operators since they will be generated if we
don't declare them.
* Source/WebCore/rendering/HitTestLocation.cpp: Use default copy constructor
and assignment operator.
* Source/WebCore/style/Styleable.h: Use WTF::move.
* Source/WebCore/style/calc/StyleCalculationTree.h: Use default for move
constructor and assignment operator.
Canonical link: https://commits.webkit.org/310840@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications