| Summary: | [Mac] Correct infinite loop in Wheel Handler code in EventHandlerMac | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||
| Component: | Layout and Rendering | Assignee: | Brent Fulgham <bfulgham> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Mac | ||||||
| OS: | All | ||||||
| Bug Depends on: | 139914 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Brent Fulgham
2015-01-16 14:17:28 PST
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> |