mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 04:05:34 +00:00
Fixed a DOM protection issue in CPWindow.
Reviewed by me.
This commit is contained in:
1 parent
d28bfee704
commit
90389996d1
1 file changed
+4
@@ -316,7 +316,11 @@ CPTexturedBackgroundWindowMask
|
||||
*/
|
||||
- (id)initWithContentRect:(CGRect)aContentRect styleMask:(unsigned int)aStyleMask
|
||||
{
|
||||
#if PLATFORM(DOM)
|
||||
return [self initWithContentRect:aContentRect styleMask:aStyleMask bridge:[CPDOMWindowBridge sharedDOMWindowBridge]];
|
||||
#else
|
||||
return [self initWithContentRect:aContentRect styleMask:aStyleMask bridge:nil];
|
||||
#endif
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user