[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
sullivan
sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:22:52 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit b515590c57dcdbc4098fe5789049a376ea8f04f1
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Jul 2 20:57:13 2002 +0000
Made IFWebView fill with white when there's no document view. This fixes:
- 2978210 -- problems with "hide status bar"
- 2978742 -- Resizing initially-empty Alexander window results in garbage in window
* WebView.subproj/IFWebView.mm:
(-[IFWebView drawRect:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index a8e8454..819623b 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2002-07-02 John Sullivan <sullivan at apple.com>
+
+ Made IFWebView fill with white when there's no document view. This fixes:
+
+ - 2978210 -- problems with "hide status bar"
+ - 2978742 -- Resizing initially-empty Alexander window results in garbage in window
+
+ * WebView.subproj/IFWebView.mm:
+ (-[IFWebView drawRect:]):
+
2002-07-02 Darin Adler <darin at apple.com>
* WebView.subproj/IFMainURLHandleClient.mm: Fix comment.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index a8e8454..819623b 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,13 @@
+2002-07-02 John Sullivan <sullivan at apple.com>
+
+ Made IFWebView fill with white when there's no document view. This fixes:
+
+ - 2978210 -- problems with "hide status bar"
+ - 2978742 -- Resizing initially-empty Alexander window results in garbage in window
+
+ * WebView.subproj/IFWebView.mm:
+ (-[IFWebView drawRect:]):
+
2002-07-02 Darin Adler <darin at apple.com>
* WebView.subproj/IFMainURLHandleClient.mm: Fix comment.
diff --git a/WebKit/WebView.subproj/IFWebView.mm b/WebKit/WebView.subproj/IFWebView.mm
index db93e9a..6796440 100644
--- a/WebKit/WebView.subproj/IFWebView.mm
+++ b/WebKit/WebView.subproj/IFWebView.mm
@@ -189,6 +189,11 @@
- (void)drawRect:(NSRect)rect
{
+ if ([self documentView] == nil) {
+ // Need to paint ourselves if there's no documentView to do it instead.
+ [[NSColor whiteColor] set];
+ NSRectFill(rect);
+ }
}
- (NSWindow *)window
diff --git a/WebKit/WebView.subproj/WebFrameView.m b/WebKit/WebView.subproj/WebFrameView.m
index db93e9a..6796440 100644
--- a/WebKit/WebView.subproj/WebFrameView.m
+++ b/WebKit/WebView.subproj/WebFrameView.m
@@ -189,6 +189,11 @@
- (void)drawRect:(NSRect)rect
{
+ if ([self documentView] == nil) {
+ // Need to paint ourselves if there's no documentView to do it instead.
+ [[NSColor whiteColor] set];
+ NSRectFill(rect);
+ }
}
- (NSWindow *)window
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list