NS_ENSURE_NATIVE_PATH_SEG-manual-comptr
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 137 5861968fe0b97c85e06eec5f472320db6c4e6877
permissions -rw-r--r--
State as of now

diff --git a/content/svg/content/src/nsSVGPathSeg.h b/content/svg/content/src/nsSVGPathSeg.h
--- a/content/svg/content/src/nsSVGPathSeg.h
+++ b/content/svg/content/src/nsSVGPathSeg.h
@@ -54,7 +54,7 @@
     nsresult rv;                                               \
     if (retval)                                                \
       *retval = nsnull;                                        \
-    nsCOMPtr<nsSVGPathSeg> path = do_QueryInterface(obj, &rv); \
+    nsSVGPathSeg* path = do_QueryInterface(obj, &rv);          \
     NS_ENSURE_SUCCESS(rv, NS_ERROR_DOM_SVG_WRONG_TYPE_ERR);    \
   }