Title: [122393] trunk/Source/WebKit2
Revision
122393
Author
[email protected]
Date
2012-07-11 17:23:40 -0700 (Wed, 11 Jul 2012)

Log Message

pagesPerView param is misnamed for WKPageSetPageLength()
https://bugs.webkit.org/show_bug.cgi?id=91033

Rubber-stamped by Dan Bernstein.

The name of the second parameter to WKPageSetPageLength(),
'pagesPerView', was confusing; it's a page size (normally width)
in pixels.

* UIProcess/API/C/WKPagePrivate.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (122392 => 122393)


--- trunk/Source/WebKit2/ChangeLog	2012-07-12 00:12:03 UTC (rev 122392)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-12 00:23:40 UTC (rev 122393)
@@ -1,3 +1,16 @@
+2012-07-11  Simon Fraser  <[email protected]>
+
+        pagesPerView param is misnamed for WKPageSetPageLength()
+        https://bugs.webkit.org/show_bug.cgi?id=91033
+
+        Rubber-stamped by Dan Bernstein.
+
+        The name of the second parameter to WKPageSetPageLength(),
+        'pagesPerView', was confusing; it's a page size (normally width)
+        in pixels.
+
+        * UIProcess/API/C/WKPagePrivate.h:
+
 2012-07-11  Anders Carlsson  <[email protected]>
 
         Add -Wtautological-compare and -Wsign-compare warning flags

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h (122392 => 122393)


--- trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h	2012-07-12 00:12:03 UTC (rev 122392)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKPagePrivate.h	2012-07-12 00:23:40 UTC (rev 122393)
@@ -65,7 +65,7 @@
 WK_EXPORT WKPaginationMode WKPageGetPaginationMode(WKPageRef page);
 WK_EXPORT void WKPageSetPaginationBehavesLikeColumns(WKPageRef page, bool behavesLikeColumns);
 WK_EXPORT bool WKPageGetPaginationBehavesLikeColumns(WKPageRef page);
-WK_EXPORT void WKPageSetPageLength(WKPageRef page, double pagesPerView);
+WK_EXPORT void WKPageSetPageLength(WKPageRef page, double pageLength);
 WK_EXPORT double WKPageGetPageLength(WKPageRef page);
 WK_EXPORT void WKPageSetGapBetweenPages(WKPageRef page, double gap);
 WK_EXPORT double WKPageGetGapBetweenPages(WKPageRef page);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to