зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
104b50eaf6
Коммит
a37336d17d
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче