2007-11-21 Eric Seidel <eric@webkit.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Nov 2007 04:03:18 +0000 (04:03 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Nov 2007 04:03:18 +0000 (04:03 +0000)
commit08a60dad20296ab0508b83f1d47fee8fdd372788
treeb451bf4fda554cf8ad719db1382d6604374ae2ae
parentdf4c6b082c85eb9352072397221a8fe77d084bf2
2007-11-21  Eric Seidel  <eric@webkit.org>

        Reviewed by Tim Hatcher.

        Break out more of DumpRenderTree.mm into individual files

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
        (checkedMalloc):
        (checkedRealloc):
        (makeLargeMallocFailSilently):
        * DumpRenderTree/mac/CheckedMalloc.h: Added.
        * DumpRenderTree/mac/DumpRenderTree.mm:
        (crashHandler):
        (dump):
        * DumpRenderTree/mac/DumpRenderTreeMac.h:
        * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
        * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
        * DumpRenderTree/mac/DumpRenderTreeWindow.h:
        * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
        * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
        (javaScriptThreads):
        (runJavaScriptThread):
        (startJavaScriptThreads):
        (stopJavaScriptThreads):
        * DumpRenderTree/mac/JavaScriptThreading.h: Added.
        * DumpRenderTree/mac/PixelDumpSupport.h: Added.
        * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
        (restoreColorSpace):
        (setDefaultColorProfileToRGB):
        (initializeColorSpaceAndScreeBufferForPixelTests):
        (md5HashStringForBitmap):
        (dumpWebViewAsPixelsAndCompareWithExpected):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj
WebKitTools/DumpRenderTree/mac/CheckedMalloc.cpp [new file with mode: 0644]
WebKitTools/DumpRenderTree/mac/CheckedMalloc.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm
WebKitTools/DumpRenderTree/mac/DumpRenderTreeMac.h
WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h
WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.m
WebKitTools/DumpRenderTree/mac/DumpRenderTreeWindow.h
WebKitTools/DumpRenderTree/mac/DumpRenderTreeWindow.mm
WebKitTools/DumpRenderTree/mac/JavaScriptThreading.cpp [new file with mode: 0644]
WebKitTools/DumpRenderTree/mac/JavaScriptThreading.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/mac/PixelDumpSupport.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/mac/PixelDumpSupport.mm [new file with mode: 0644]