Changeset 77051 in webkit
- Timestamp:
- Jan 28, 2011 11:56:02 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r77043 r77051 1 2011-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 1 11 2011-01-28 Maciej Stachowiak <mjs@apple.com> 2 12 -
trunk/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
r76991 r77051 95 95 { 96 96 // <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 #else100 97 // Assuming that if NSPrintOperation is allowed to spawn a thread for printing, it will. Print preview doesn't spawn a thread. 101 98 return !_isPrintingFromSecondaryThread; 102 #endif103 99 } 104 100
Note: See TracChangeset
for help on using the changeset viewer.