Changeset 77051 in webkit


Ignore:
Timestamp:
Jan 28, 2011 11:56:02 PM (13 years ago)
Author:
ap@apple.com
Message:

2011-01-28 Alexey Proskuryakov <ap@apple.com>

Reviewed by Dan Bernstein.

https://bugs.webkit.org/show_bug.cgi?id=53367
<rdar://problem/8926460> Remove dysfunctional code from -[WKPrintingView _isPrintingPreview].

  • UIProcess/API/mac/WKPrintingView.mm: (-[WKPrintingView _isPrintingPreview]): The common branch works fine for now, no need to make platforms different.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r77043 r77051  
     12011-01-28  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=53367
     6        <rdar://problem/8926460> Remove dysfunctional code from -[WKPrintingView _isPrintingPreview].
     7
     8        * UIProcess/API/mac/WKPrintingView.mm: (-[WKPrintingView _isPrintingPreview]): The common
     9        branch works fine for now, no need to make platforms different.
     10
    1112011-01-28  Maciej Stachowiak  <mjs@apple.com>
    212
  • trunk/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm

    r76991 r77051  
    9595{
    9696    // <rdar://problem/8901041> Please add an API returning whether the current print operation is for preview.
    97 #if !defined(BUILDING_ON_SNOW_LEOPARD)
    98     return [_printOperation preferredRenderingQuality] == NSPrintRenderingQualityResponsive;
    99 #else
    10097    // Assuming that if NSPrintOperation is allowed to spawn a thread for printing, it will. Print preview doesn't spawn a thread.
    10198    return !_isPrintingFromSecondaryThread;
    102 #endif
    10399}
    104100
Note: See TracChangeset for help on using the changeset viewer.