mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 487345, Crash [@ nsObjectLoadingContent::Instantiate], r+sr=bz
This commit is contained in:
parent
614ee0fc2d
commit
68311f0ff6
@ -134,7 +134,14 @@ nsAsyncInstantiateEvent::Run()
|
||||
// Also make sure that we still refer to the same data.
|
||||
nsIObjectFrame* frame = mContent->
|
||||
GetExistingFrame(nsObjectLoadingContent::eFlushContent);
|
||||
if (mFrame.IsAlive() &&
|
||||
#ifdef DEBUG
|
||||
if (frame && mFrame.IsAlive()) {
|
||||
nsIFrame* objectFrame = do_QueryFrame(frame);
|
||||
NS_ASSERTION(objectFrame == mFrame.GetFrame(), "Wrong frame!");
|
||||
}
|
||||
#endif
|
||||
if (frame &&
|
||||
mFrame.IsAlive() &&
|
||||
mContent->mURI == mURI &&
|
||||
mContent->mContentType.Equals(mContentType)) {
|
||||
if (LOG_ENABLED()) {
|
||||
|
Loading…
Reference in New Issue
Block a user