Bug 210461 - Replace use of Checked<size_t, RecordOverflow> with CheckedSize
Summary: Replace use of Checked<size_t, RecordOverflow> with CheckedSize
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
Keywords: InRadar
Depends on:
Reported: 2020-04-13 15:31 PDT by David Kilzer (:ddkilzer)
Modified: 2020-04-28 17:51 PDT (History)
16 users (show)

See Also:

Patch v1 (15.04 KB, patch)
2020-04-13 15:36 PDT, David Kilzer (:ddkilzer)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2020-04-13 15:31:05 PDT
Replace use of Checked<size_t, RecordOverflow> with CheckedSize.

Mechanical replacement:

$ grep -l -r 'Checked<size_t, RecordOverflow>' Source | xargs -n 1 perl -pi -e 's/Checked<size_t, RecordOverflow>/CheckedSize/g'

And clean-up:

$ git checkout HEAD Source/WTF/wtf/CheckedArithmetic.h

Via Source/WTF/wtf/CheckedArithmetic.h:

typedef Checked<size_t, RecordOverflow> CheckedSize;
Comment 1 David Kilzer (:ddkilzer) 2020-04-13 15:36:55 PDT
Created attachment 396346 [details]
Patch v1
Comment 2 Mark Lam 2020-04-13 16:18:38 PDT
Comment on attachment 396346 [details]
Patch v1

Comment 3 EWS 2020-04-13 18:40:51 PDT
Committed r260054: <https://trac.webkit.org/changeset/260054>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 396346 [details].
Comment 4 Radar WebKit Bug Importer 2020-04-13 18:41:16 PDT