Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1501,7 +1501,9 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetAttributes(PRUint16& n,
|
||||
for (index = 0; index < count; index++) {
|
||||
PRInt32 nameSpaceID;
|
||||
nsIAtom* atom;
|
||||
iContent->GetAttributeNameAt(index, nameSpaceID, atom);
|
||||
nsCOMPtr<nsIAtom> prefix;
|
||||
iContent->GetAttributeNameAt(index, nameSpaceID, atom,
|
||||
*getter_AddRefs(prefix));
|
||||
nsAutoString value;
|
||||
if (NS_CONTENT_ATTR_HAS_VALUE == iContent->GetAttribute(nameSpaceID, atom, value)) {
|
||||
nsAutoString name;
|
||||
|
||||
Reference in New Issue
Block a user