Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r249937 - [Cairo] Image::drawTiled → Cairo::drawSurface → cairo…
…_paint_with_alpha → segfault happens in pixman https://bugs.webkit.org/show_bug.cgi?id=201755 Reviewed by Don Olmstead. Segmentation faults happened in pixman while painting a image. In Cairo::drawSurface, originalSrcRect can be slightly larger than the surface size because of floating number calculations. Cairo::drawSurface created a subsurface which is running over the parent surface boundaries. * platform/graphics/cairo/CairoOperations.cpp: (WebCore::Cairo::drawSurface): Calculated a intersection with expandedSrcRect and the parent surface size for subsurface size.
- Loading branch information