Bug 797043 - Followup, only implicitly click-to-play activate actual plugin types. r=josh

This commit is contained in:
John Schoenick 2012-10-18 15:38:50 -07:00
parent dc3b24d024
commit 709e6fe8a0

View File

@ -1673,7 +1673,7 @@ nsObjectLoadingContent::LoadObject(bool aNotify,
fallbackType = clickToPlayReason;
}
if (!mActivated && mType != eType_Null) {
if (!mActivated && mType == eType_Plugin) {
// Object passed ShouldPlay and !ShouldPreview, so it should be considered
// activated until it changes content type
LOG(("OBJLC [%p]: Object implicitly activated", this));