⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 269758 in webkit


Ignore:
Timestamp:
Nov 12, 2020, 3:45:06 PM (6 years ago)
Author:
timothy_horton@apple.com
Message:

canvas-createPattern-video-modify-crash-log.txt asserts on debug GPUProcess bots
https://bugs.webkit.org/show_bug.cgi?id=218872

Reviewed by Simon Fraser.

  • WebProcess/GPU/graphics/ImageBufferShareableBitmapBackend.cpp:

(WebKit::ImageBufferShareableBitmapBackend::create):
This assertion is wrong; make it the same as the one in ImageBufferCGBitmapBackend.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r269753 r269758  
     12020-11-12  Tim Horton  <timothy_horton@apple.com>
     2
     3        canvas-createPattern-video-modify-crash-log.txt asserts on debug GPUProcess bots
     4        https://bugs.webkit.org/show_bug.cgi?id=218872
     5
     6        Reviewed by Simon Fraser.
     7
     8        * WebProcess/GPU/graphics/ImageBufferShareableBitmapBackend.cpp:
     9        (WebKit::ImageBufferShareableBitmapBackend::create):
     10        This assertion is wrong; make it the same as the one in ImageBufferCGBitmapBackend.
     11
    1122020-11-12  Said Abou-Hallawa  <said@apple.com>
    213
  • trunk/Source/WebKit/WebProcess/GPU/graphics/ImageBufferShareableBitmapBackend.cpp

    r269710 r269758  
    4646std::unique_ptr<ImageBufferShareableBitmapBackend> ImageBufferShareableBitmapBackend::create(const FloatSize& size, float resolutionScale, ColorSpace colorSpace, PixelFormat pixelFormat, const HostWindow*)
    4747{
    48     ASSERT(pixelFormat == PixelFormat::RGBA8);
     48    ASSERT(pixelFormat == PixelFormat::BGRA8);
    4949
    5050    IntSize backendSize = calculateBackendSize(size, resolutionScale);
Note: See TracChangeset for help on using the changeset viewer.