Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann

git-svn-id: svn://10.0.0.236/trunk@154140 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2004-03-21 05:22:46 +00:00
parent 2345ba9aeb
commit 5050533b67
2 changed files with 2 additions and 2 deletions

View File

@@ -1900,7 +1900,7 @@ nsFrameManager::GetFrameProperty(const nsIFrame* aFrame,
nsresult* aResult)
{
NS_PRECONDITION(aPropertyName && aFrame, "unexpected null param");
nsresult rv = NS_ERROR_FAILURE;
nsresult rv = NS_IFRAME_MGR_PROP_NOT_THERE;
void *propValue = nsnull;
PropertyList* propertyList = GetPropertyListFor(aPropertyName);