This commit is contained in:
pinkerton%netscape.com 2002-04-25 22:41:59 +00:00
Родитель ddb60476a9
Коммит 9327eb888f
4 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -1434,12 +1434,11 @@ nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
{
NSPoint localPoint = [self convertPoint:inPoint fromView:[inWind contentView]];
NSView<mozView>* hitView = [self hitTest:localPoint];
if ( [hitView conformsToProtocol:@protocol(mozView)]) {
if ( [hitView conformsToProtocol:@protocol(mozView)] ) {
nsCOMPtr<nsIEventSink> sink (do_QueryInterface([hitView widget]));
*outSink = sink.get();
NS_IF_ADDREF(*outSink);
}
else printf("couldn't find a view\n");
}

Просмотреть файл

@ -1434,12 +1434,11 @@ nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
{
NSPoint localPoint = [self convertPoint:inPoint fromView:[inWind contentView]];
NSView<mozView>* hitView = [self hitTest:localPoint];
if ( [hitView conformsToProtocol:@protocol(mozView)]) {
if ( [hitView conformsToProtocol:@protocol(mozView)] ) {
nsCOMPtr<nsIEventSink> sink (do_QueryInterface([hitView widget]));
*outSink = sink.get();
NS_IF_ADDREF(*outSink);
}
else printf("couldn't find a view\n");
}

Просмотреть файл

@ -1434,12 +1434,11 @@ nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
{
NSPoint localPoint = [self convertPoint:inPoint fromView:[inWind contentView]];
NSView<mozView>* hitView = [self hitTest:localPoint];
if ( [hitView conformsToProtocol:@protocol(mozView)]) {
if ( [hitView conformsToProtocol:@protocol(mozView)] ) {
nsCOMPtr<nsIEventSink> sink (do_QueryInterface([hitView widget]));
*outSink = sink.get();
NS_IF_ADDREF(*outSink);
}
else printf("couldn't find a view\n");
}

Просмотреть файл

@ -1434,12 +1434,11 @@ nsHeaderSniffer::OnSecurityChange(nsIWebProgress *aWebProgress,
{
NSPoint localPoint = [self convertPoint:inPoint fromView:[inWind contentView]];
NSView<mozView>* hitView = [self hitTest:localPoint];
if ( [hitView conformsToProtocol:@protocol(mozView)]) {
if ( [hitView conformsToProtocol:@protocol(mozView)] ) {
nsCOMPtr<nsIEventSink> sink (do_QueryInterface([hitView widget]));
*outSink = sink.get();
NS_IF_ADDREF(*outSink);
}
else printf("couldn't find a view\n");
}