[Webkit-unassigned] [Bug 140564] [Mac] Correct infinite loop in Wheel Handler code in EventHandlerMac

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 16 17:25:16 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140564

--- Comment #2 from Brent Fulgham <bfulgham at webkit.org> ---
Index: mac/EventHandlerMac.mm
===================================================================
--- mac/EventHandlerMac.mm    (revision 178590)
+++ mac/EventHandlerMac.mm    (working copy)
@@ -834,7 +834,7 @@
     if (&frame == latchedState->frame())
         return false;

-    for (Frame* ancestor = frame.tree().parent(); ancestor; ancestor->tree().parent()) {
+    for (Frame* ancestor = frame.tree().parent(); ancestor; ancestor = ancestor->tree().parent()) {
         if (ancestor == latchedState->frame())
             return true;
     }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150117/f7bb3099/attachment-0002.html>


More information about the webkit-unassigned mailing list