From 3486f2d6a50873f74c764d1904e6c07e3d8ad923 Mon Sep 17 00:00:00 2001 From: "asqueella%gmail.com" Date: Sun, 18 Feb 2007 19:46:12 +0000 Subject: [PATCH] bug 257868 follow-up: fix a typo in the previous patch (left-over from an older patch with a different method signature) --- layout/xul/base/src/nsDocElementBoxFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/xul/base/src/nsDocElementBoxFrame.cpp b/layout/xul/base/src/nsDocElementBoxFrame.cpp index 2400f0874c2..ffe3f3fb844 100644 --- a/layout/xul/base/src/nsDocElementBoxFrame.cpp +++ b/layout/xul/base/src/nsDocElementBoxFrame.cpp @@ -128,7 +128,7 @@ nsDocElementBoxFrame::CreateAnonymousContent(nsTArray& aElements) // create the top-secret default tooltip node. shhhhh! rv = nodeInfoManager->GetNodeInfo(nsGkAtoms::tooltip, nsnull, kNameSpaceID_XUL, getter_AddRefs(nodeInfo)); - NS_ENSURE_SUCCESS(rv, nsnull); + NS_ENSURE_SUCCESS(rv, rv); rv = NS_NewXULElement(getter_AddRefs(mTooltipContent), nodeInfo); NS_ENSURE_SUCCESS(rv, rv);