Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-07-26 Cosmin Truta <ctruta@chromium.org>
Reviewed by Eric Seidel. Some SVGs with empty <g> elements crash Chromium on Linux https://bugs.webkit.org/show_bug.cgi?id=41175 Remove the suppression of this bug's test on Chromium. The new fix in WebKit no longer requires an update in Chromium, making this test safe to expose. * platform/chromium/test_expectations.txt: 2010-07-26 Cosmin Truta <ctruta@chromium.org> Reviewed by Eric Seidel. Some SVGs with empty <g> elements crash Chromium on Linux https://bugs.webkit.org/show_bug.cgi?id=41175 Redo the old fix using a different approach, to avoid regressing svg/batik/filters/filterRegions.svg with Chromium on Linux. Specifically, handle empty SkBitmap objects by exiting early upon encountering unconfigured (i.e. empty) bitmaps. No new tests. This bug's old test (svg/filters/filter-empty-g.svg) and the above-mentioned regressed test are expected to pass. * WebCore/platform/graphics/skia/ImageBufferSkia.cpp: (ImageBuffer::ImageBuffer): Undo the old fix. (getImageData): The new fix. Canonical link: https://commits.webkit.org/54931@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
39 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
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