Changeset 63527 in webkit


Ignore:
Timestamp:
Jul 16, 2010 12:36:02 AM (14 years ago)
Author:
hamaji@chromium.org
Message:

2010-07-16 Shinichiro Hamaji <hamaji@chromium.org>

Another uneviewed attempt to fix build.

Printing test results differ between machines, we should use ImageDiff instead
https://bugs.webkit.org/show_bug.cgi?id=20011

  • DumpRenderTree/mac/PixelDumpSupportMac.mm: (createPagedBitmapContext):
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r63526 r63527  
     12010-07-16  Shinichiro Hamaji  <hamaji@chromium.org>
     2
     3        Another uneviewed attempt to fix build.
     4
     5        Printing test results differ between machines, we should use ImageDiff instead
     6        https://bugs.webkit.org/show_bug.cgi?id=20011
     7
     8        * DumpRenderTree/mac/PixelDumpSupportMac.mm:
     9        (createPagedBitmapContext):
     10
    1112010-07-16  Shinichiro Hamaji  <hamaji@chromium.org>
    212
  • trunk/WebKitTools/DumpRenderTree/mac/PixelDumpSupportMac.mm

    r63526 r63527  
    271271    int pageHeightInPixels = LayoutTestController::maxViewHeight;
    272272    int numberOfPages = [mainFrame numberOfPages:pageWidthInPixels:pageHeightInPixels];
    273 
    274     RefPtr<BitmapContext> bitmapContext = createBitmapContext(pageWidthInPixels, numberOfPages * (pageHeightInPixels + 1) - 1);
     273    size_t rowBytes = 0;
     274    void* buffer = 0;
     275
     276    RefPtr<BitmapContext> bitmapContext = createBitmapContext(pageWidthInPixels, numberOfPages * (pageHeightInPixels + 1) - 1, rowBytes, buffer);
    275277    [mainFrame printToCGContext:bitmapContext->cgContext():pageWidthInPixels:pageHeightInPixels];
    276278    return bitmapContext.release();
Note: See TracChangeset for help on using the changeset viewer.