diff --git a/mozilla/content/base/src/nsObjectLoadingContent.cpp b/mozilla/content/base/src/nsObjectLoadingContent.cpp index d040015fd46..07358ad0c49 100644 --- a/mozilla/content/base/src/nsObjectLoadingContent.cpp +++ b/mozilla/content/base/src/nsObjectLoadingContent.cpp @@ -549,7 +549,7 @@ nsObjectLoadingContent::EnsureInstantiation(nsIPluginInstance** aInstance) eventQ->RevokeEvents(this); } } else { - // mInstantiating is true if we're in ObjectURIChanged; we shouldn't + // mInstantiating is true if we're in LoadObject; we shouldn't // recreate frames in that case, we'd confuse that function. if (mInstantiating) { return NS_OK; @@ -708,7 +708,7 @@ nsObjectLoadingContent::LoadObject(const nsAString& aURI, LOG(("OBJLC [%p]: Loading object: URI string=<%s> notify=%i type=<%s> forcetype=%i forceload=%i\n", this, NS_ConvertUTF16toUTF8(aURI).get(), aNotify, aTypeHint.get(), aForceType, aForceLoad)); - NS_ASSERTION(!mInstantiating, "ObjectURIChanged was reentered?"); + NS_ASSERTION(!mInstantiating, "LoadObject was reentered?"); // Avoid StringToURI in order to use the codebase attribute as base URI nsCOMPtr thisContent = @@ -767,7 +767,7 @@ nsObjectLoadingContent::LoadObject(nsIURI* aURI, // AutoSetInstantiatingToFalse is instantiated after AutoNotifier, so that if // the AutoNotifier triggers frame construction, events can be posted as // appropriate. - NS_ASSERTION(!mInstantiating, "ObjectURIChanged was reentered?"); + NS_ASSERTION(!mInstantiating, "LoadObject was reentered?"); mInstantiating = PR_TRUE; AutoSetInstantiatingToFalse autoset(this); diff --git a/mozilla/content/base/src/nsObjectLoadingContent.h b/mozilla/content/base/src/nsObjectLoadingContent.h index 5af935bb855..02a56ae70ec 100644 --- a/mozilla/content/base/src/nsObjectLoadingContent.h +++ b/mozilla/content/base/src/nsObjectLoadingContent.h @@ -67,7 +67,7 @@ class AutoSetInstantiatingToFalse; * contract) * - mFrameLoader is null while this node is not in a document (XXX this * invariant only exists due to nsFrameLoader suckage and needs to go away) - * - mInstantiating is true while in ObjectURIChanged (it may be true in other + * - mInstantiating is true while in LoadObject (it may be true in other * cases as well). Only the function that set mInstantiating should trigger * frame construction or notifications like ContentStatesChanged or flushes. */