It's a layering violation.
Created attachment 199006 [details] Patch
Comment on attachment 199006 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=199006&action=review > Source/WebCore/ChangeLog:14 > + It's a layering violation that Scrollbar uses EventHandler, Frame > + and FrameView. Frame is used to get the EvenHandler that is used > + to set mousePressed to false after a Scrollbar::mouseUp(). This is > + not really needed, since EvenHandler already sets m_mousePressed > + to false when calling Scrollbar::mouseUp(). The PopupMenu windows > + implementation also calls Scrollbar::mouseUp(), but that scrollbar > + is not inside a FrameView. Some EvenHandler typos here.
(In reply to comment #2) > (From update of attachment 199006 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=199006&action=review > > > Source/WebCore/ChangeLog:14 > > + It's a layering violation that Scrollbar uses EventHandler, Frame > > + and FrameView. Frame is used to get the EvenHandler that is used > > + to set mousePressed to false after a Scrollbar::mouseUp(). This is > > + not really needed, since EvenHandler already sets m_mousePressed > > + to false when calling Scrollbar::mouseUp(). The PopupMenu windows > > + implementation also calls Scrollbar::mouseUp(), but that scrollbar > > + is not inside a FrameView. > > Some EvenHandler typos here. Ooops, will fix them before landing, thanks for the review.
Committed r148892: <http://trac.webkit.org/changeset/148892>