WebCore:
Reviewed by Maciej
- WebCore part of fix for:
<rdar://problem/
4557386> REGRESSION (419.3-521.19): repro Safari world leak involving
closing tabs after clicking in a web page
* bridge/mac/WebCoreFrameBridge.h:
(-[WebCoreFrameBridge textViewWasFirstResponderAtMouseDownTime:])
renamed to be more specific (formerly wasFirstResponderAtMouseDownTime:)
* bridge/mac/FrameMac.mm:
(WebCore::FrameMac::passMouseDownEventToWidget):
updated for name change
WebKit:
Reviewed by Maciej
- WebKit part of fix for:
<rdar://problem/
4557386> REGRESSION (419.3-521.19): repro Safari world leak involving
closing tabs after clicking in a web page
* WebCoreSupport/WebFrameBridge.m:
(-[WebFrameBridge textViewWasFirstResponderAtMouseDownTime:]):
renamed to be more specific (formerly wasFirstResponderAtMouseDownTime:)
* WebView/WebHTMLViewInternal.h:
* WebView/WebHTMLView.m:
(-[WebTextCompleteController dealloc]):
updated for name change
(-[NSArray _setMouseDownEvent:]):
Now only retains the first responder if it's a textView, since that's the only case that the only client
actually cares about. This avoids a reference cycle caused by retaining self. This is the only substantive
part of the patch; all the rest is just renaming for clarity, and comments.
(-[NSArray mouseDown:]):
updated for name change
(-[WebHTMLView _textViewWasFirstResponderAtMouseDownTime:]):
renamed to be more specific (formerly _wasFirstResponderAtMouseDownTime:)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15547
268f45cc-cd09-0410-ab3c-
d52691b4dbfc