[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

xan at webkit.org xan at webkit.org
Thu Oct 29 20:31:48 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit 0e52321f7b6b67332d1c861c3489d7ce60dc5acd
Author: xan at webkit.org <xan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Sep 22 12:11:14 2009 +0000

    2009-09-22  Xan Lopez  <xlopez at igalia.com>
    
            Reviewed by Jan Alonzo.
    
            [GTK] WebKitHitTestResult is completely broken in gmail
            https://bugs.webkit.org/show_bug.cgi?id=29527
    
            We need to use the main or focused frame when doing the coordinate
            transformation instead of always using the main frame.
    
            * webkit/webkitwebview.cpp:
            (webkit_web_view_get_hit_test_result):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48626 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/gtk/ChangeLog b/WebKit/gtk/ChangeLog
index 06f4be5..8588cd9 100644
--- a/WebKit/gtk/ChangeLog
+++ b/WebKit/gtk/ChangeLog
@@ -1,3 +1,16 @@
+2009-09-22  Xan Lopez  <xlopez at igalia.com>
+
+        Reviewed by Jan Alonzo.
+
+        [GTK] WebKitHitTestResult is completely broken in gmail
+        https://bugs.webkit.org/show_bug.cgi?id=29527
+
+        We need to use the main or focused frame when doing the coordinate
+        transformation instead of always using the main frame.
+
+        * webkit/webkitwebview.cpp:
+        (webkit_web_view_get_hit_test_result):
+
 2009-09-21  Gustavo Noronha Silva  <gustavo.noronha at collabora.co.uk>
 
         Update documentation control files to 1.1.15.
diff --git a/WebKit/gtk/webkit/webkitwebview.cpp b/WebKit/gtk/webkit/webkitwebview.cpp
index a410f77..0428ddb 100644
--- a/WebKit/gtk/webkit/webkitwebview.cpp
+++ b/WebKit/gtk/webkit/webkitwebview.cpp
@@ -3948,7 +3948,7 @@ WebKitHitTestResult* webkit_web_view_get_hit_test_result(WebKitWebView* webView,
     g_return_val_if_fail(event, NULL);
 
     PlatformMouseEvent mouseEvent = PlatformMouseEvent(event);
-    Frame* frame = core(webView)->mainFrame();
+    Frame* frame = core(webView)->focusController()->focusedOrMainFrame();
     HitTestRequest request(HitTestRequest::Active);
     IntPoint documentPoint = documentPointForWindowPoint(frame, mouseEvent.pos());
     MouseEventWithHitTestResults mev = frame->document()->prepareMouseEvent(request, documentPoint, mouseEvent);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list