Ignore:
Timestamp:
Jun 2, 2021, 8:42:27 AM (4 years ago)
Author:
Chris Dumez
Message:

Use Checked aliases instead of Checked<T, RecordOverflow>
https://bugs.webkit.org/show_bug.cgi?id=226535

Reviewed by Keith Miller.

Source/JavaScriptCore:

  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):

  • ftl/FTLOperations.cpp:

(JSC::FTL::JSC_DEFINE_JIT_OPERATION):

  • runtime/JSArray.cpp:

(JSC::JSArray::appendMemcpy):
(JSC::JSArray::unshiftCountWithAnyIndexingType):

  • runtime/JSStringJoiner.cpp:

(JSC::JSStringJoiner::joinedLength const):

  • runtime/JSStringJoiner.h:
  • runtime/StringPrototype.cpp:

(JSC::jsSpliceSubstringsWithSeparators):

  • wasm/WasmFormat.cpp:

(JSC::Wasm::Segment::create):

  • wasm/WasmOperations.cpp:

(JSC::Wasm::JSC_DEFINE_JIT_OPERATION):

  • wasm/WasmTable.cpp:

(JSC::Wasm::Table::grow):

  • yarr/YarrInterpreter.cpp:

(JSC::Yarr::ByteCompiler::emitDisjunction):

  • yarr/YarrParser.h:

(JSC::Yarr::Parser::consumeNumber):

  • yarr/YarrPattern.cpp:

Source/WebCore:

  • html/ImageData.cpp:

(WebCore::computeDataSize):

  • html/canvas/WebGLRenderingContextBase.cpp:

(WebCore::WebGLRenderingContextBase::validateTexFuncData):
(WebCore::WebGLRenderingContextBase::validateCompressedTexFuncData):

  • platform/graphics/GraphicsContextGL.cpp:

(WebCore::GraphicsContextGL::computeImageSizeInBytes):

  • platform/graphics/IntRect.cpp:

(WebCore::IntRect::isValid const):

  • platform/graphics/PixelBuffer.cpp:

(WebCore::PixelBuffer::computeBufferSize):

  • platform/graphics/PixelBuffer.h:
  • platform/graphics/avfoundation/ISOFairPlayStreamingPsshBox.cpp:

(WebCore::ISOFairPlayStreamingKeyRequestInfoBox::parse):

  • platform/graphics/ca/GraphicsLayerCA.cpp:

(WebCore::GraphicsLayerCA::updateBackdropFilters):

  • platform/graphics/cg/ImageBufferCGBitmapBackend.cpp:

(WebCore::ImageBufferCGBitmapBackend::calculateSafeBackendSize):

  • platform/graphics/win/Direct2DUtilities.cpp:

(WebCore::Direct2D::createDirect2DImageSurfaceWithData):

  • platform/graphics/win/ImageBufferDirect2DBackend.cpp:

(WebCore::ImageBufferDirect2DBackend::copyNativeImage const):
(WebCore::ImageBufferDirect2DBackend::compatibleBitmap):

Source/WebKit:

  • Shared/ShareableBitmap.cpp:

(WebKit::ShareableBitmap::numBytesForSize):

  • Shared/ShareableBitmap.h:
  • Shared/cairo/ShareableBitmapCairo.cpp:

(WebKit::ShareableBitmap::calculateBytesPerRow):
(WebKit::ShareableBitmap::calculateBytesPerPixel):

  • Shared/cg/ShareableBitmapCG.cpp:

(WebKit::ShareableBitmap::calculateBytesPerRow):
(WebKit::ShareableBitmap::calculateBytesPerPixel):

  • Shared/win/ShareableBitmapDirect2D.cpp:

(WebKit::ShareableBitmap::calculateBytesPerRow):
(WebKit::ShareableBitmap::calculateBytesPerPixel):

  • UIProcess/mac/TextCheckerMac.mm:

(WebKit::TextChecker::updateSpellingUIWithGrammarString):

  • WebProcess/GPU/graphics/ImageBufferShareableBitmapBackend.cpp:

(WebKit::ImageBufferShareableBitmapBackend::calculateSafeBackendSize):

Source/WTF:

  • wtf/URLHelpers.cpp:

(WTF::URLHelpers::userVisibleURL):

  • wtf/URLParser.cpp:

(WTF::URLParser::parseIPv4Piece):

  • wtf/cocoa/NSURLExtras.mm:

(WTF::dataWithUserTypedString):

  • wtf/glib/SocketConnection.cpp:

(WTF::SocketConnection::sendMessage):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r278340 r278351  
     12021-06-02  Chris Dumez  <[email protected]>
     2
     3        Use Checked aliases instead of Checked<T, RecordOverflow>
     4        https://bugs.webkit.org/show_bug.cgi?id=226535
     5
     6        Reviewed by Keith Miller.
     7
     8        * dfg/DFGAbstractInterpreterInlines.h:
     9        (JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
     10        * ftl/FTLOperations.cpp:
     11        (JSC::FTL::JSC_DEFINE_JIT_OPERATION):
     12        * runtime/JSArray.cpp:
     13        (JSC::JSArray::appendMemcpy):
     14        (JSC::JSArray::unshiftCountWithAnyIndexingType):
     15        * runtime/JSStringJoiner.cpp:
     16        (JSC::JSStringJoiner::joinedLength const):
     17        * runtime/JSStringJoiner.h:
     18        * runtime/StringPrototype.cpp:
     19        (JSC::jsSpliceSubstringsWithSeparators):
     20        * wasm/WasmFormat.cpp:
     21        (JSC::Wasm::Segment::create):
     22        * wasm/WasmOperations.cpp:
     23        (JSC::Wasm::JSC_DEFINE_JIT_OPERATION):
     24        * wasm/WasmTable.cpp:
     25        (JSC::Wasm::Table::grow):
     26        * yarr/YarrInterpreter.cpp:
     27        (JSC::Yarr::ByteCompiler::emitDisjunction):
     28        * yarr/YarrParser.h:
     29        (JSC::Yarr::Parser::consumeNumber):
     30        * yarr/YarrPattern.cpp:
     31
    1322021-06-01  Darin Adler  <[email protected]>
    233
Note: See TracChangeset for help on using the changeset viewer.