зеркало из https://github.com/mozilla/gecko-dev.git
Bug 487345, Crash [@ nsObjectLoadingContent::Instantiate], r+sr=bz
This commit is contained in:
Родитель
174dbbb687
Коммит
fdbc7c362d
|
@ -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()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче