Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -891,7 +891,6 @@ nsImageMap::UpdateAreas()
|
||||
// Get rid of old area data
|
||||
FreeAreas();
|
||||
|
||||
nsresult rv = NS_OK;
|
||||
PRInt32 i, n;
|
||||
PRBool containsBlock = PR_FALSE, containsArea = PR_FALSE;
|
||||
|
||||
@@ -1155,7 +1154,7 @@ nsImageMap::AttributeChanged(nsIDocument *aDocument,
|
||||
PRInt32 aNameSpaceID,
|
||||
nsIAtom* aAttribute,
|
||||
PRInt32 aModType,
|
||||
PRInt32 aHint)
|
||||
nsChangeHint aHint)
|
||||
{
|
||||
// If the parent of the changing content node is our map then update
|
||||
// the map.
|
||||
@@ -1249,7 +1248,7 @@ NS_IMETHODIMP
|
||||
nsImageMap::StyleRuleChanged(nsIDocument *aDocument,
|
||||
nsIStyleSheet* aStyleSheet,
|
||||
nsIStyleRule* aStyleRule,
|
||||
PRInt32 aHint)
|
||||
nsChangeHint aHint)
|
||||
{
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user