Skip to content
Permalink
Browse files
2011-04-12 Tony Chang <tony@chromium.org>
        Reviewed by Andreas Kling.

        [Qt] embed checksums in PNGs written by Qt-DRT
        https://bugs.webkit.org/show_bug.cgi?id=58173

        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::DumpRenderTree::dump):

Canonical link: https://commits.webkit.org/73379@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
idealisms committed Apr 12, 2011
1 parent c39d2b6 commit be04f18e5f183ee3e7e5c2bfac486dea203a0582
Showing 2 changed files with 12 additions and 0 deletions.
@@ -1,3 +1,13 @@
2011-04-12 Tony Chang <tony@chromium.org>

Reviewed by Andreas Kling.

[Qt] embed checksums in PNGs written by Qt-DRT
https://bugs.webkit.org/show_bug.cgi?id=58173

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::dump):

2011-04-12 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.
@@ -997,6 +997,8 @@ void DumpRenderTree::dump()
}

if (dumpImage) {
image.setText("checksum", actualHash);

QBuffer buffer;
buffer.open(QBuffer::WriteOnly);
image.save(&buffer, "PNG");

0 comments on commit be04f18

Please sign in to comment.