Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2011-11-08 Nikolas Zimmermann <email@example.com>
Switch SVGImage cache to store ImageBuffers instead of whole SVGImages, including a DOM/Render tree https://bugs.webkit.org/show_bug.cgi?id=71368 Reviewed by Zoltan Herczeg. When determining whether the canvas would be tainted, we need access to the SVGImage, not its cached BitmapImage. Otherwhise wrong assumptions are mode, leading to regressions. Fixes http/tests/security/canvas-remote-read-svg-image.html and related tests on the bots. * html/canvas/CanvasRenderingContext.cpp: (WebCore::CanvasRenderingContext::wouldTaintOrigin): Forgot to switch them back to use cachedImage->image(). * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::isOriginClean): Ditto. Canonical link: https://commits.webkit.org/88116@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 19 additions and 2 deletions.