WK2 Mac build fix.
authorjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Mar 2011 02:34:21 +0000 (02:34 +0000)
committerjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Mar 2011 02:34:21 +0000 (02:34 +0000)
* UIProcess/API/C/WKPagePrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80402 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/C/WKPagePrivate.h

index bdfbeed..8576eab 100644 (file)
@@ -1,5 +1,11 @@
 2011-03-04  Jon Honeycutt  <jhoneycutt@apple.com>
 
+        WK2 Mac build fix.
+
+        * UIProcess/API/C/WKPagePrivate.h:
+
+2011-03-04  Jon Honeycutt  <jhoneycutt@apple.com>
+
         WK2 needs printing support on Windows
         https://bugs.webkit.org/show_bug.cgi?id=55800
         <rdar://problem/8903808>
index a280d3a..85fbc2a 100644 (file)
@@ -55,6 +55,8 @@ struct WKPrintInfo {
     float availablePaperWidth;
     float availablePaperHeight;
 };
+typedef struct WKPrintInfo WKPrintInfo;
+
 typedef void (*WKPageComputePagesForPrintingFunction)(WKRect* pageRects, uint32_t pageCount, double resultPageScaleFactor, WKErrorRef error, void* functionContext);
 WK_EXPORT void WKPageComputePagesForPrinting(WKPageRef page, WKFrameRef frame, const WKPrintInfo&, WKPageComputePagesForPrintingFunction, void* context);