Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: Source/WebCore/css/CSSMutableStyleDeclaration.cpp

Issue 7002001: Revert 79985 - 2011-03-01 Nikolas Zimmermann <nzimmermann@rim.com> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/css/CSSMutableStyleDeclaration.h ('k') | Source/WebCore/css/CSSMutableValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/WebCore/css/CSSMutableStyleDeclaration.h ('k') | Source/WebCore/css/CSSMutableValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698