Commit 6793e484 authored by adele's avatar adele
Browse files

Reviewed by Darin.

        Adding some asserts to help detect other cases of <rdar://problem/5171145>

        * WebCoreSupport/WebFrameBridge.mm: (-[WebFrameBridge makeFirstResponder:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent da7cd15c
2007-05-22 Adele Peterson <adele@apple.com>
Reviewed by Darin.
Adding some asserts to help detect other cases of <rdar://problem/5171145>
* WebCoreSupport/WebFrameBridge.mm: (-[WebFrameBridge makeFirstResponder:]):
2007-05-22 Brady Eidson <beidson@apple.com>
 
Reviewed by Kevin (Sarge)
......
......@@ -270,6 +270,9 @@ NSString *WebPluginContainerKey = @"WebPluginContainer";
{
ASSERT(_frame != nil);
WebView *webView = [self webView];
ASSERT([view isKindOfClass:[NSView class]]);
ASSERT([(NSView *)view window]);
ASSERT([(NSView *)view window] == [webView window]);
[webView _pushPerformingProgrammaticFocus];
[[webView _UIDelegateForwarder] webView:webView makeFirstResponder:view];
[webView _popPerformingProgrammaticFocus];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment