mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
Bug 396710 - Compiling nsAppShell.mm results in cast error. r=smichaud, sr=roc, a=roc
This commit is contained in:
parent
e914cf6bf2
commit
15a38c69aa
@ -626,9 +626,8 @@ nsAppShell::AfterProcessNextEvent(nsIThreadInternal *aThread,
|
||||
NS_ASSERTION(mAutoreleasePools && count,
|
||||
"Processed an event, but there's no autorelease pool?");
|
||||
|
||||
NSAutoreleasePool* pool = static_cast<const NSAutoreleasePool*>
|
||||
(::CFArrayGetValueAtIndex(mAutoreleasePools,
|
||||
count - 1));
|
||||
const NSAutoreleasePool* pool = static_cast<const NSAutoreleasePool*>
|
||||
(::CFArrayGetValueAtIndex(mAutoreleasePools, count - 1));
|
||||
::CFArrayRemoveValueAtIndex(mAutoreleasePools, count - 1);
|
||||
[pool release];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user