Index: Source/WebCore/css/CSSMutableStyleDeclaration.cpp |
=================================================================== |
--- Source/WebCore/css/CSSMutableStyleDeclaration.cpp (revision 86165) |
+++ Source/WebCore/css/CSSMutableStyleDeclaration.cpp (working copy) |
@@ -23,7 +23,6 @@ |
#include "CSSMutableStyleDeclaration.h" |
#include "CSSImageValue.h" |
-#include "CSSMutableValue.h" |
#include "CSSParser.h" |
#include "CSSPropertyLonghand.h" |
#include "CSSPropertyNames.h" |
@@ -97,17 +96,6 @@ |
} |
} |
-CSSMutableStyleDeclaration::~CSSMutableStyleDeclaration() |
-{ |
- const CSSMutableStyleDeclarationConstIterator end = this->end(); |
- for (CSSMutableStyleDeclarationConstIterator it = begin(); it != end; ++it) { |
- CSSValue* value = it->value(); |
- if (!value || !value->isMutableValue()) |
- continue; |
- static_cast<CSSMutableValue*>(value)->setNode(0); |
- } |
-} |
- |
CSSMutableStyleDeclaration& CSSMutableStyleDeclaration::operator=(const CSSMutableStyleDeclaration& other) |
{ |
ASSERT(!m_iteratorCount); |