https://bugs.webkit.org/show_bug.cgi?id=79134
Reviewed by Andreas Kling.
Remove unneccesary includes.
* bindings/js/JSDOMBinding.h:
* css/StylePropertySet.cpp:
* css/StylePropertySet.h:
(WebCore):
(StylePropertySet):
* editing/RemoveCSSPropertyCommand.cpp:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108385
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-21 Antti Koivisto <antti@apple.com>
+
+ Clean up StylePropertySet included headers
+ https://bugs.webkit.org/show_bug.cgi?id=79134
+
+ Reviewed by Andreas Kling.
+
+ Remove unneccesary includes.
+
+ * bindings/js/JSDOMBinding.h:
+ * css/StylePropertySet.cpp:
+ * css/StylePropertySet.h:
+ (WebCore):
+ (StylePropertySet):
+ * editing/RemoveCSSPropertyCommand.cpp:
+
2012-02-21 Lin Wei <wei.a.lin@intel.com>
Fix bug from r107672.
#define JSDOMBinding_h
#include "CSSImportRule.h"
+#include "CSSStyleDeclaration.h"
#include "CSSStyleSheet.h"
#include "JSDOMGlobalObject.h"
#include "JSDOMWrapper.h"
#include "config.h"
#include "StylePropertySet.h"
-#include "CSSImageValue.h"
#include "CSSParser.h"
#include "CSSPropertyLonghand.h"
#include "CSSPropertyNames.h"
-#include "CSSRule.h"
-#include "CSSStyleSheet.h"
#include "CSSValueKeywords.h"
#include "CSSValueList.h"
#include "CSSValuePool.h"
#include "Document.h"
-#include "ExceptionCode.h"
-#include "HTMLNames.h"
#include "PropertySetCSSStyleDeclaration.h"
-#include "StyledElement.h"
-#include "WebKitMutationObserver.h"
#include <wtf/text/StringBuilder.h>
-#include <wtf/text/WTFString.h>
using namespace std;
#include "CSSPrimitiveValue.h"
#include "CSSProperty.h"
-#include "CSSStyleDeclaration.h"
-#include "KURLHash.h"
-#include "PlatformString.h"
#include <wtf/ListHashSet.h>
#include <wtf/Vector.h>
+#include <wtf/text/WTFString.h>
namespace WebCore {
+class CSSRule;
+class CSSStyleDeclaration;
+class KURL;
class PropertySetCSSStyleDeclaration;
class StyledElement;
String asText() const;
- void clearParentRule(CSSRule* rule);
- void clearParentElement(StyledElement* element);
+ void clearParentRule(CSSRule*);
+ void clearParentElement(StyledElement*);
CSSStyleDeclaration* ensureCSSStyleDeclaration() const;
CSSStyleDeclaration* ensureRuleCSSStyleDeclaration(const CSSRule* parentRule) const;
#include "config.h"
#include "RemoveCSSPropertyCommand.h"
+#include "CSSStyleDeclaration.h"
#include "StylePropertySet.h"
#include <wtf/Assertions.h>