From 09768e31c2fdc422f3c2ced75af3fd5c13bb044e Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Wed, 2 Mar 2011 13:57:33 -0800 Subject: [PATCH] Bug 637807 - Use GetEntry on the ID hashtable in nsDocument::LookupImageElement; r=bzbarsky --- content/base/src/nsDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsDocument.cpp b/content/base/src/nsDocument.cpp index 7adf720b389d..78e8bbf0e6e6 100644 --- a/content/base/src/nsDocument.cpp +++ b/content/base/src/nsDocument.cpp @@ -4124,7 +4124,7 @@ nsDocument::LookupImageElement(const nsAString& aId) if (aId.IsEmpty()) return nsnull; - nsIdentifierMapEntry *entry = mIdentifierMap.PutEntry(aId); + nsIdentifierMapEntry *entry = mIdentifierMap.GetEntry(aId); return entry ? entry->GetImageIdElement() : nsnull; }