From bc415156128cda8a569f76cd25b9ffe39512c6d5 Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Wed, 26 Nov 2003 01:00:12 +0000 Subject: [PATCH] Fix refcounting error causing crash. Not part of default build. git-svn-id: svn://10.0.0.236/trunk@149752 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp b/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp index 18d9153f38a..893f456c9a5 100644 --- a/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp +++ b/mozilla/extensions/layout-debug/src/nsLayoutDebuggingTools.cpp @@ -103,7 +103,7 @@ pres_context(nsIDocShell *aDocShell) } #endif -static already_AddRefed +nsIViewManager* view_manager(nsIDocShell *aDocShell) { nsCOMPtr shell(pres_shell(aDocShell));