[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
ap at apple.com
ap at apple.com
Mon Feb 21 00:17:47 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit 1984e12c0e6cb23eb48b7060960ad8169c8a83b8
Author: ap at apple.com <ap at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sat Jan 29 07:56:02 2011 +0000
2011-01-28 Alexey Proskuryakov <ap at 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.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit2/ChangeLog b/Source/WebKit2/ChangeLog
index b517bac..2bdf2b0 100644
--- a/Source/WebKit2/ChangeLog
+++ b/Source/WebKit2/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-28 Alexey Proskuryakov <ap at 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.
+
2011-01-28 Maciej Stachowiak <mjs at apple.com>
Reviewed by Dan Bernstein.
diff --git a/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm b/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
index c9aab38..83c158b 100644
--- a/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
+++ b/Source/WebKit2/UIProcess/API/mac/WKPrintingView.mm
@@ -94,12 +94,8 @@ NSString * const NSPrintInfoDidChangeNotification = @"NSPrintInfoDidChange";
- (BOOL)_isPrintingPreview
{
// <rdar://problem/8901041> Please add an API returning whether the current print operation is for preview.
-#if !defined(BUILDING_ON_SNOW_LEOPARD)
- return [_printOperation preferredRenderingQuality] == NSPrintRenderingQualityResponsive;
-#else
// Assuming that if NSPrintOperation is allowed to spawn a thread for printing, it will. Print preview doesn't spawn a thread.
return !_isPrintingFromSecondaryThread;
-#endif
}
- (void)_updatePreview
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list