mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Fix gcc 4 build by disabling assertion on private data. gcc 3.3 doesn't care. No bug. Camino only. r=smfr
This commit is contained in:
parent
7b52f7f204
commit
24c91c251a
@ -2156,7 +2156,11 @@ nsChildView::Idle()
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
#if __GNUC__ < 4
|
||||
// _savePort is @private and there's no other way to access it.
|
||||
// gcc 3.3 doesn't care.
|
||||
NS_ASSERTION(!_savePort || IsValidPort(_savePort), "Bad port");
|
||||
#endif
|
||||
|
||||
[super dealloc]; // This sets the current port to _savePort (which should be
|
||||
// a valid port, checked with the assertion above.
|
||||
|
Loading…
Reference in New Issue
Block a user