author | Jeff Muizelaar <jmuizelaar@mozilla.com> |
Tue, 19 Oct 2021 18:40:19 +0000 | |
changeset 596380 | 3e2fd3145608dcd18e24cd3a0cb6d189255c1158 |
parent 596379 | 55a504b8e61760bd89e5d34cbd313f4ff0dbd00a |
child 596381 | f45c40a6b0ad78b9d1edfc7a91ae82b7988b5607 |
push id | 38896 |
push user | abutkovits@mozilla.com |
push date | Tue, 19 Oct 2021 21:51:00 +0000 |
treeherder | mozilla-central@e9071741b84c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mstange |
bugs | 1736670 |
milestone | 95.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/gfx/2d/MacIOSurface.cpp +++ b/gfx/2d/MacIOSurface.cpp @@ -109,17 +109,17 @@ size_t CreatePlaneDictionary(CFTypeRefPt &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); AddDictionaryInt(aDict, kIOSurfacePlaneWidth, aSize.width); AddDictionaryInt(aDict, kIOSurfacePlaneHeight, aSize.height); AddDictionaryInt(aDict, kIOSurfacePlaneBytesPerRow, bytesPerRow); AddDictionaryInt(aDict, kIOSurfacePlaneOffset, aOffset); AddDictionaryInt(aDict, kIOSurfacePlaneSize, totalBytes); - AddDictionaryInt(aDict, kIOSurfaceBytesPerElement, aBytesPerPixel); + AddDictionaryInt(aDict, kIOSurfacePlaneBytesPerElement, aBytesPerPixel); return totalBytes; } /* static */ already_AddRefed<MacIOSurface> MacIOSurface::CreateNV12Surface( const IntSize& aYSize, const IntSize& aCbCrSize, YUVColorSpace aColorSpace, ColorRange aColorRange) {