Changeset 63525 in webkit


Ignore:
Timestamp:
Jul 15, 2010 11:38:30 PM (14 years ago)
Author:
hamaji@chromium.org
Message:

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

Unreviewed build fix.

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

  • DumpRenderTree/PixelDumpSupport.cpp: (dumpWebViewAsPixelsAndCompareWithExpected):
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r63521 r63525  
     12010-07-15  Shinichiro Hamaji  <hamaji@chromium.org>
     2
     3        Unreviewed build fix.
     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/PixelDumpSupport.cpp:
     9        (dumpWebViewAsPixelsAndCompareWithExpected):
     10
    1112010-07-15  Shinichiro Hamaji  <hamaji@chromium.org>
    212
  • trunk/WebKitTools/DumpRenderTree/PixelDumpSupport.cpp

    r63521 r63525  
    4444{
    4545    RefPtr<BitmapContext> context;
     46#if PLATFORM(MAC)
    4647    if (gLayoutTestController->isPrinting())
    4748        context = createPagedBitmapContext();
    4849    else
     50#endif
    4951        context = createBitmapContextFromWebView(gLayoutTestController->testOnscreen(), gLayoutTestController->testRepaint(), gLayoutTestController->testRepaintSweepHorizontally(), gLayoutTestController->dumpSelectionRect());
    5052    ASSERT(context);
Note: See TracChangeset for help on using the changeset viewer.