Bug 21120 - Make visibleContentRect cross-platform.
: Make visibleContentRect cross-platform.
Status: RESOLVED FIXED
: WebKit
Platform
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To:
:
:
:
: 21083
  Show dependency treegraph
 
Reported: 2008-09-25 14:42 PST by
Modified: 2008-09-25 15:25 PST (History)


Attachments
Patch (16.50 KB, patch)
2008-09-25 14:51 PST, Dave Hyatt
sam: review+
Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-09-25 14:42:31 PST
This bug covers making visibleContentRect cross-platform.  visibleWidth and visibleHeight should just be implemented in terms of visibleContentRect.
------- Comment #1 From 2008-09-25 14:51:04 PST -------
Created an attachment (id=23822) [details]
Patch
------- Comment #2 From 2008-09-25 15:17:21 PST -------
(From update of attachment 23822 [details])
+    int width = GetClientSize(NULL, &width);
+    int height = GetClientSize(NULL, &height);

I don't think this works.

Otherwise, r=me.
------- Comment #3 From 2008-09-25 15:25:46 PST -------
Fixed in r36909.