Remove lines that do nothing except leak. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@141007 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1118,9 +1118,6 @@ DOMCSSDeclarationImpl::ParseDeclaration(const nsAString& aDecl,
|
||||
getter_AddRefs(cssParser));
|
||||
|
||||
if (NS_SUCCEEDED(result)) {
|
||||
nsCSSDeclaration* declClone = decl->Clone();
|
||||
NS_ENSURE_TRUE(declClone, NS_ERROR_OUT_OF_MEMORY);
|
||||
|
||||
if (aClearOldDecl) {
|
||||
// This should be done with decl->Clear() once such a method exists.
|
||||
nsAutoString propName;
|
||||
|
||||
@@ -1118,9 +1118,6 @@ DOMCSSDeclarationImpl::ParseDeclaration(const nsAString& aDecl,
|
||||
getter_AddRefs(cssParser));
|
||||
|
||||
if (NS_SUCCEEDED(result)) {
|
||||
nsCSSDeclaration* declClone = decl->Clone();
|
||||
NS_ENSURE_TRUE(declClone, NS_ERROR_OUT_OF_MEMORY);
|
||||
|
||||
if (aClearOldDecl) {
|
||||
// This should be done with decl->Clear() once such a method exists.
|
||||
nsAutoString propName;
|
||||
|
||||
Reference in New Issue
Block a user