A bug was introduced in Bug 139914 due to a typo when converting the while() loop in the patch to a for() loop.
<rdar://problem/19386426>
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; }
Created attachment 244823 [details] Patch
Committed r178617: <http://trac.webkit.org/changeset/178617>