[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:55:26 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 6c2ae274f962ebaaf6e3bb25af446789b50f6523
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Feb 8 02:20:34 2002 +0000
removed unnecessary adjustment for scroll width.`:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/KWQScrollView.mm b/WebCore/kwq/KWQScrollView.mm
index 8acdb94..b7d0ed7 100644
--- a/WebCore/kwq/KWQScrollView.mm
+++ b/WebCore/kwq/KWQScrollView.mm
@@ -193,11 +193,13 @@ void QScrollView::resizeContents(int w, int h)
IFWebView *wview = [(NSScrollView *)getView() documentView];
KWQDEBUG4 ("0x%08x %s at w %d h %d\n", wview, [[[wview class] className] cString], w, h);
- w -= (int)[NSScroller scrollerWidth];
+ //w -= (int)[NSScroller scrollerWidth];
+ //w -= 1;
if (w < 0)
w = 0;
// Why isn't there a scollerHeight?
- h -= (int)[NSScroller scrollerWidth];
+ //h -= (int)[NSScroller scrollerWidth];
+ //h -= 1;
if (h < 0)
h = 0;
[wview setFrameSize: NSMakeSize (w,h)];
diff --git a/WebCore/src/kwq/KWQScrollView.mm b/WebCore/src/kwq/KWQScrollView.mm
index 8acdb94..b7d0ed7 100644
--- a/WebCore/src/kwq/KWQScrollView.mm
+++ b/WebCore/src/kwq/KWQScrollView.mm
@@ -193,11 +193,13 @@ void QScrollView::resizeContents(int w, int h)
IFWebView *wview = [(NSScrollView *)getView() documentView];
KWQDEBUG4 ("0x%08x %s at w %d h %d\n", wview, [[[wview class] className] cString], w, h);
- w -= (int)[NSScroller scrollerWidth];
+ //w -= (int)[NSScroller scrollerWidth];
+ //w -= 1;
if (w < 0)
w = 0;
// Why isn't there a scollerHeight?
- h -= (int)[NSScroller scrollerWidth];
+ //h -= (int)[NSScroller scrollerWidth];
+ //h -= 1;
if (h < 0)
h = 0;
[wview setFrameSize: NSMakeSize (w,h)];
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list