diff --git a/layout/base/src/nsSpaceManager.cpp b/layout/base/src/nsSpaceManager.cpp index cef9dc7f58f..7f73630612d 100644 --- a/layout/base/src/nsSpaceManager.cpp +++ b/layout/base/src/nsSpaceManager.cpp @@ -33,10 +33,10 @@ NS_HashNumber(const void* key) PR_CALLBACK PRIntn NS_RemoveFrameInfoEntries(PLHashEntry* he, PRIntn i, void* arg) { - SpaceManager::BandRect* bandRect = (SpaceManager::BandRect*)he->value; + SpaceManager::FrameInfo* frameInfo = (SpaceManager::FrameInfo*)he->value; - NS_ASSERTION(nsnull != bandRect, "null band rect"); - delete bandRect; + NS_ASSERTION(nsnull != frameInfo, "null frameInfo"); + delete frameInfo; return HT_ENUMERATE_REMOVE; } diff --git a/layout/generic/nsSpaceManager.cpp b/layout/generic/nsSpaceManager.cpp index cef9dc7f58f..7f73630612d 100644 --- a/layout/generic/nsSpaceManager.cpp +++ b/layout/generic/nsSpaceManager.cpp @@ -33,10 +33,10 @@ NS_HashNumber(const void* key) PR_CALLBACK PRIntn NS_RemoveFrameInfoEntries(PLHashEntry* he, PRIntn i, void* arg) { - SpaceManager::BandRect* bandRect = (SpaceManager::BandRect*)he->value; + SpaceManager::FrameInfo* frameInfo = (SpaceManager::FrameInfo*)he->value; - NS_ASSERTION(nsnull != bandRect, "null band rect"); - delete bandRect; + NS_ASSERTION(nsnull != frameInfo, "null frameInfo"); + delete frameInfo; return HT_ENUMERATE_REMOVE; }