nsCSSValue-Array-comptr
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 157 8daebed024b6410329793f900335824e1f0b77b6
permissions -rw-r--r--
State as of now

diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp
--- a/layout/style/nsCSSParser.cpp
+++ b/layout/style/nsCSSParser.cpp
@@ -6478,7 +6478,7 @@ nsCSSValueList* CSSParserImpl::ParseCSSS
     nsCSSUnit unit = cur->mValue.GetUnit();
     if (unit != eCSSUnit_None && unit != eCSSUnit_Inherit &&
         unit != eCSSUnit_Initial) {
-      nsRefPtr<nsCSSValue::Array> val = nsCSSValue::Array::Create(5);
+      nsCSSValue::Array* val = nsCSSValue::Array::Create(5);
       if (!val) {
         aErrorCode = NS_ERROR_OUT_OF_MEMORY;
         break;