mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Fixing bustage...
This commit is contained in:
parent
e3f452219e
commit
4429083363
@ -2864,8 +2864,8 @@ nsresult nsPluginInstanceOwner::EnsureCachedAttrParamArrays()
|
||||
}
|
||||
|
||||
// add our PARAM and null seperator
|
||||
mCachedAttrParamNames [mNumCachedAttrs + 1] = "PARAM";
|
||||
mCachedAttrParamValues[mNumCachedAttrs + 1] = nsnull;
|
||||
mCachedAttrParamNames [mNumCachedAttrs] = ToNewUTF8String(NS_LITERAL_STRING("PARAM"));
|
||||
mCachedAttrParamValues[mNumCachedAttrs] = nsnull;
|
||||
|
||||
// now fill in the PARAM name/value pairs from the cached DOM nodes
|
||||
c = 0;
|
||||
|
@ -2864,8 +2864,8 @@ nsresult nsPluginInstanceOwner::EnsureCachedAttrParamArrays()
|
||||
}
|
||||
|
||||
// add our PARAM and null seperator
|
||||
mCachedAttrParamNames [mNumCachedAttrs + 1] = "PARAM";
|
||||
mCachedAttrParamValues[mNumCachedAttrs + 1] = nsnull;
|
||||
mCachedAttrParamNames [mNumCachedAttrs] = ToNewUTF8String(NS_LITERAL_STRING("PARAM"));
|
||||
mCachedAttrParamValues[mNumCachedAttrs] = nsnull;
|
||||
|
||||
// now fill in the PARAM name/value pairs from the cached DOM nodes
|
||||
c = 0;
|
||||
|
@ -822,7 +822,7 @@ nsresult ns4xPluginInstance::InitializePlugin(nsIPluginInstancePeer* peer)
|
||||
const char* const* pnames = nsnull;
|
||||
const char* const* pvalues = nsnull;
|
||||
if (NS_SUCCEEDED(taginfo->GetParameters(pcount, pnames, pvalues))) {
|
||||
NS_ASSERTION(nsnull == values[count+1], "attribute/parameter array not setup correctly for 4.x plugins");
|
||||
NS_ASSERTION(nsnull == values[count], "attribute/parameter array not setup correctly for 4.x plugins");
|
||||
count += ++pcount; //if it's all setup correctly, then all we need is to change the count
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user