[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
commit-queue at webkit.org
commit-queue at webkit.org
Sun Feb 20 23:16:36 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit 7c2329ba2daf3d739b81ad196cccb3b745613798
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Jan 19 17:47:54 2011 +0000
2011-01-19 Joone Hur <joone.hur at collabora.co.uk>
Reviewed by Andreas Kling.
[GTK] No need to invalidate empty areas in ChromeClient::invalidateContentsAndWindow
https://bugs.webkit.org/show_bug.cgi?id=52702
Don't call gdk_window_invalidate_rect if an updated rectangle is empty.
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::invalidateContentsAndWindow):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit/gtk/ChangeLog b/Source/WebKit/gtk/ChangeLog
index ef1f2aa..efba40d 100644
--- a/Source/WebKit/gtk/ChangeLog
+++ b/Source/WebKit/gtk/ChangeLog
@@ -1,3 +1,15 @@
+2011-01-19 Joone Hur <joone.hur at collabora.co.uk>
+
+ Reviewed by Andreas Kling.
+
+ [GTK] No need to invalidate empty areas in ChromeClient::invalidateContentsAndWindow
+ https://bugs.webkit.org/show_bug.cgi?id=52702
+
+ Don't call gdk_window_invalidate_rect if an updated rectangle is empty.
+
+ * WebCoreSupport/ChromeClientGtk.cpp:
+ (WebKit::ChromeClient::invalidateContentsAndWindow):
+
2011-01-17 Philippe Normand <pnormand at igalia.com>
Unreviewed, build fix for 2 GTK tests html file paths.
diff --git a/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp b/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
index 8b6a483..04ee8ba 100644
--- a/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
+++ b/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
@@ -377,7 +377,7 @@ void ChromeClient::invalidateContentsAndWindow(const IntRect& updateRect, bool i
GdkRectangle rect = updateRect;
GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(m_webView));
- if (window) {
+ if (window && !updateRect.isEmpty()) {
gdk_window_invalidate_rect(window, &rect, FALSE);
// We don't currently do immediate updates since they delay other UI elements.
//if (immediate)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list