Commit e0bb7192 authored by kdecker's avatar kdecker
Browse files

Reviewed by Tim Hatcher.

        Fixed: <rdar://problem/5276135> With Safari 3 Tiger Beta installed, a crash occurs in BBEdit while mousing down and dragging outside of HTML preview window

        * Carbon/HIWebView.m:
        (WindowHandler): Because the fix for 5051616 causes Tiger to crash in HIToolbox (but not on Leopard), I reverted back to using GetControlKind
        on Tiger only, instead of HIObjectIsOfClass.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6f399844
......@@ -757,7 +757,12 @@ OSStatus HIWebViewCreateWithClass(Class aClass, HIViewRef * outControl)
HIViewRef view;
HIViewGetViewForMouseEvent(HIViewGetRoot(window), inEvent, &view);
#ifndef BUILDING_ON_TIGER
if (HIObjectIsOfClass((HIObjectRef)view, kHIWebViewClassID))
#else
GetControlKind(view, &kind);
if ( kind.signature == 'appl' && kind.kind == 'wbvw' )
#endif
result = SendEventToEventTargetWithOptions(inEvent, HIObjectGetEventTarget((HIObjectRef)view), kEventTargetDontPropagate);
}
}
......@@ -769,7 +774,12 @@ OSStatus HIWebViewCreateWithClass(Class aClass, HIViewRef * outControl)
{
HIViewRef view;
HIViewGetViewForMouseEvent(HIViewGetRoot(window), inEvent, &view);
#ifndef BUILDING_ON_TIGER
if (HIObjectIsOfClass((HIObjectRef)view, kHIWebViewClassID))
#else
GetControlKind(view, &kind);
if ( kind.signature == 'appl' && kind.kind == 'wbvw' )
#endif
result = SendEventToEventTargetWithOptions(inEvent, HIObjectGetEventTarget((HIObjectRef)view), kEventTargetDontPropagate);
}
break;
......
2007-06-18 Kevin Decker <kdecker@apple.com>
Reviewed by Tim Hatcher.
Fixed: <rdar://problem/5276135> With Safari 3 Tiger Beta installed, a crash occurs in BBEdit while mousing down and dragging outside of HTML preview window
* Carbon/HIWebView.m:
(WindowHandler): Because the fix for 5051616 causes Tiger to crash in HIToolbox (but not on Leopard), I reverted back to using GetControlKind
on Tiger only, instead of HIObjectIsOfClass.
2007-06-16 David Hyatt <hyatt@apple.com>
 
Back out fix for 13972. Quicktime will no longer clip correctly. :(
......
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