-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CrashTracer: com.apple.WebKit.WebContent at CoreGraphics: CGDataProvi…
…derCopyData https://bugs.webkit.org/show_bug.cgi?id=259296 rdar://29394886 Reviewed by Simon Fraser. The change in https://commits.webkit.org/262607@main has caused an occasional out of memory exception to be thrown in CGDataProviderCopyData. Catch and ignore this exception, while bailing out of the method. I've added some logging to give more information if we see it again. This involved changing a .cpp file to .mm. * Source/WebKit/Shared/cg/ShareableBitmapCG.mm: Renamed from Source/WebKit/Shared/cg/ShareableBitmapCG.cpp. (WebKit::ShareableBitmapConfiguration::ShareableBitmapConfiguration): (WebKit::ShareableBitmapConfiguration::validateColorSpace): (WebKit::wantsExtendedRange): (WebKit::ShareableBitmapConfiguration::calculateBytesPerPixel): (WebKit::ShareableBitmapConfiguration::calculateBytesPerRow): (WebKit::ShareableBitmapConfiguration::calculateBitmapInfo): (WebKit::ShareableBitmap::createFromImagePixels): (WebKit::ShareableBitmap::createGraphicsContext): (WebKit::ShareableBitmap::paint): (WebKit::ShareableBitmap::makeCGImageCopy): (WebKit::ShareableBitmap::makeCGImage): (WebKit::ShareableBitmap::createPlatformImage): (WebKit::ShareableBitmap::createCGImage const): (WebKit::ShareableBitmap::releaseBitmapContextData): (WebKit::ShareableBitmap::createImage): * Source/WebKit/SourcesCocoa.txt: * Source/WebKit/WebKit.xcodeproj/project.pbxproj: Canonical link: https://commits.webkit.org/266119@main
- Loading branch information
Showing
3 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters