Bug 21120 - Make visibleContentRect cross-platform.
: Make visibleContentRect cross-platform.
Status: RESOLVED FIXED
Product: WebKit
Classification: Unclassified
Component: Platform
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To: Dave Hyatt
:
Depends on:
Blocks: 21083
  Show dependency treegraph
 
Reported: 2008-09-25 14:42 PDT by Dave Hyatt
Modified: 2008-09-25 15:25 PDT (History)
0 users

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2008-09-25 14:42:31 PDT
This bug covers making visibleContentRect cross-platform.  visibleWidth and visibleHeight should just be implemented in terms of visibleContentRect.
Comment 1 Dave Hyatt 2008-09-25 14:51:04 PDT
Created attachment 23822 [details]
Patch
Comment 2 Sam Weinig 2008-09-25 15:17:21 PDT
Comment on attachment 23822 [details]
Patch

+    int width = GetClientSize(NULL, &width);
+    int height = GetClientSize(NULL, &height);

I don't think this works.

Otherwise, r=me.
Comment 3 Dave Hyatt 2008-09-25 15:25:46 PDT
Fixed in r36909.