[webkit-changes] [WebKit/WebKit] 04745f: Further reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAG...
Chris Dumez
noreply at github.com
Fri Jan 10 22:23:33 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 04745f32fe682525984a6ccc94dddad7a490decb
https://github.com/WebKit/WebKit/commit/04745f32fe682525984a6ccc94dddad7a490decb
Author: Chris Dumez <cdumez at apple.com>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M Source/WebCore/platform/graphics/Region.cpp
M Source/WebCore/platform/graphics/Region.h
M Source/WebCore/platform/graphics/SurrogatePairAwareTextIterator.h
M Source/WebCore/platform/graphics/UnitBezier.h
M Source/WebCore/platform/graphics/VelocityData.cpp
M Source/WebCore/platform/graphics/VelocityData.h
Log Message:
-----------
Further reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebCore/platform/graphics
https://bugs.webkit.org/show_bug.cgi?id=285781
Reviewed by Darin Adler.
* Source/WebCore/platform/graphics/Region.cpp:
(WebCore::Region::rects const):
(WebCore::Region::contains const):
(WebCore::Region::Shape::compareShapes):
(WebCore::Region::Shape::canCoalesce):
(WebCore::Region::Shape::appendSpan):
(WebCore::Region::Shape::appendSpans):
(WebCore::Region::Shape::segments const):
(WebCore::operator<<):
(WebCore::Region::Shape::bounds const):
(WebCore::Region::Shape::shapeOperation):
(WebCore::Region::Shape::spans_begin const): Deleted.
(WebCore::Region::Shape::spans_end const): Deleted.
(WebCore::Region::Shape::segments_begin const): Deleted.
(WebCore::Region::Shape::segments_end const): Deleted.
* Source/WebCore/platform/graphics/Region.h:
(WebCore::Region::Shape::spans const):
* Source/WebCore/platform/graphics/SurrogatePairAwareTextIterator.h:
(WebCore::SurrogatePairAwareTextIterator::SurrogatePairAwareTextIterator):
(WebCore::SurrogatePairAwareTextIterator::consume):
(WebCore::SurrogatePairAwareTextIterator::remainingCharacters const):
(WebCore::SurrogatePairAwareTextIterator::characters const):
* Source/WebCore/platform/graphics/UnitBezier.h:
* Source/WebCore/platform/graphics/VelocityData.cpp:
* Source/WebCore/platform/graphics/VelocityData.h:
Canonical link: https://commits.webkit.org/288756@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list