[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

jam at chromium.org jam at chromium.org
Thu Apr 8 02:19:03 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 03f3c02d7461f64a2d93a529ef8463fd7481105c
Author: jam at chromium.org <jam at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Mar 10 23:00:54 2010 +0000

    2010-03-10  John Abd-El-Malek  <jam at chromium.org>
    
            Reviewed by Nate Chapin.
    
            [chromium]: Fix regression in mouse capture on Mac/Linux
            https://bugs.webkit.org/show_bug.cgi?id=35987
    
            * src/WebViewImpl.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55810 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index ed8a0e1..de66d13 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,12 @@
+2010-03-10  John Abd-El-Malek  <jam at chromium.org>
+
+        Reviewed by Nate Chapin.
+
+        [chromium]: Fix regression in mouse capture on Mac/Linux
+        https://bugs.webkit.org/show_bug.cgi?id=35987
+
+        * src/WebViewImpl.cpp:
+
 2010-03-10  Evan Stade  <estade at chromium.org>
 
         Reviewed by David Levin.
diff --git a/WebKit/chromium/src/WebViewImpl.cpp b/WebKit/chromium/src/WebViewImpl.cpp
index a6db418..0b3626e 100644
--- a/WebKit/chromium/src/WebViewImpl.cpp
+++ b/WebKit/chromium/src/WebViewImpl.cpp
@@ -912,6 +912,10 @@ bool WebViewImpl::handleInputEvent(const WebInputEvent& inputEvent)
         return true;
 
     if (m_haveMouseCapture && WebInputEvent::isMouseEventType(inputEvent.type)) {
+        // Not all platforms call mouseCaptureLost() directly.
+        if (inputEvent.type == WebInputEvent::MouseUp)
+            mouseCaptureLost();
+
         Node* node = focusedWebCoreNode();
         if (node && node->renderer() && node->renderer()->isEmbeddedObject()) {
             AtomicString eventType;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list