[mac] Printing test snapshots are upside-down after r198242
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Mar 2016 21:31:18 +0000 (21:31 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Mar 2016 21:31:18 +0000 (21:31 +0000)
commit49fced1d6eba2a6056af08ebe9316d6c926d00f5
treec8fe8fc293c7b0a339221a2dfeb5373226919b01
parentd7a8a16a34cee7af9ba6a607e7ea237db33a17db
[mac] Printing test snapshots are upside-down after r198242
https://bugs.webkit.org/show_bug.cgi?id=155543

Reviewed by Simon Fraser.

Source/WebCore:

* page/PrintContext.cpp:
(WebCore::PrintContext::spoolAllPagesWithBoundaries):
Stop PLATFORM(COCOA)-conditionally flipping here. Just paint.
This function is only used by the test runners so this doesn't have a
huge impact on anything else.

Tools:

* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(createPagedBitmapContext):
Flip printing snapshots in DRT so that everything is right-side-up.

LayoutTests:

* TestExpectations:
Re-un-skip these tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/page/PrintContext.cpp
Tools/ChangeLog
Tools/DumpRenderTree/mac/PixelDumpSupportMac.mm