mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 489988 - Java Applets reload when print is called, r+sr=roc
This commit is contained in:
parent
9e8ec752cb
commit
b6ef8520f2
@ -134,14 +134,14 @@ nsAsyncInstantiateEvent::Run()
|
||||
// Also make sure that we still refer to the same data.
|
||||
nsIObjectFrame* frame = mContent->
|
||||
GetExistingFrame(nsObjectLoadingContent::eFlushContent);
|
||||
#ifdef DEBUG
|
||||
if (frame && mFrame.IsAlive()) {
|
||||
nsIFrame* objectFrame = do_QueryFrame(frame);
|
||||
NS_ASSERTION(objectFrame == mFrame.GetFrame(), "Wrong frame!");
|
||||
|
||||
nsIFrame* objectFrame = nsnull;
|
||||
if (frame) {
|
||||
objectFrame = do_QueryFrame(frame);
|
||||
}
|
||||
#endif
|
||||
if (frame &&
|
||||
mFrame.IsAlive() &&
|
||||
|
||||
if (objectFrame &&
|
||||
mFrame.GetFrame() == objectFrame &&
|
||||
mContent->mURI == mURI &&
|
||||
mContent->mContentType.Equals(mContentType)) {
|
||||
if (LOG_ENABLED()) {
|
||||
|
Loading…
Reference in New Issue
Block a user