void nsImageMap::Destroy(void) { FreeAreas(); mImageFrame = nullptr; mMap->RemoveMutationObserver(this); }
nsresult nsImageMap::UpdateAreas() { // Get rid of old area data FreeAreas(); PRBool foundArea = PR_FALSE; PRBool foundAnchor = PR_FALSE; mContainsBlockContents = PR_FALSE; return SearchForAreas(mMap, foundArea, foundAnchor); }
nsresult nsImageMap::UpdateAreas() { // Get rid of old area data FreeAreas(); bool foundArea = false; bool foundAnchor = false; mContainsBlockContents = false; return SearchForAreas(mMap, foundArea, foundAnchor); }
nsresult nsImageMap::UpdateAreas() { // Get rid of old area data FreeAreas(); bool foundArea = false; bool foundAnchor = false; mContainsBlockContents = false; nsresult rv = SearchForAreas(mMap, foundArea, foundAnchor); #ifdef ACCESSIBILITY if (NS_SUCCEEDED(rv)) { nsAccessibilityService* accService = GetAccService(); if (accService) { accService->UpdateImageMap(mImageFrame); } } #endif return rv; }