Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 19:19:06 +0000 (19:19 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Nov 2007 19:19:06 +0000 (19:19 +0000)
commit6ef9d9628a8227c3de4bbd414e415fbccdad1312
treed56eedff93043cdd35c99bd0ceda77d791363646
parentc002440af9c229dbf118b1babf017931f2b60df1
    Fix for bugs.webkit.org/show_bug.cgi?id=16136
        Use shared PixelDumpSupport for Mac DRT

        Reviewed by Adam Roben.

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
        * DumpRenderTree/cg/ImageDiffCG.cpp:
        * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
        (drawSelectionRectIntoContext):
        (dumpWebViewAsPixelsAndCompareWithExpected):
        * DumpRenderTree/cg/PixelDumpSupportCG.h:
        * DumpRenderTree/mac/Configurations/Base.xcconfig:
        * DumpRenderTree/mac/DumpRenderTree.mm:
        (dump):
        * DumpRenderTree/mac/ImageDiff.m: Removed.
        * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
        * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
        * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
        (setDefaultColorProfileToRGB):
        (getBitmapContextFromWebView):
        (drawWebViewIntoContext):
        (repaintWithVerticalSweep):
        (repaintWithHorizontalSweep):
        (getSelectionRect):
        * DumpRenderTree/win/PixelDumpSupport.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj
WebKitTools/DumpRenderTree/PixelDumpSupport.h [moved from WebKitTools/DumpRenderTree/win/PixelDumpSupport.h with 87% similarity]
WebKitTools/DumpRenderTree/cg/ImageDiffCG.cpp
WebKitTools/DumpRenderTree/cg/PixelDumpSupportCG.cpp
WebKitTools/DumpRenderTree/cg/PixelDumpSupportCG.h
WebKitTools/DumpRenderTree/mac/Configurations/Base.xcconfig
WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm
WebKitTools/DumpRenderTree/mac/ImageDiff.m [deleted file]
WebKitTools/DumpRenderTree/mac/PixelDumpSupport.h [deleted file]
WebKitTools/DumpRenderTree/mac/PixelDumpSupport.mm [deleted file]
WebKitTools/DumpRenderTree/mac/PixelDumpSupportMac.mm [new file with mode: 0644]