Clean up StylePropertySet included headers
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2012 20:48:05 +0000 (20:48 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2012 20:48:05 +0000 (20:48 +0000)
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

Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMBinding.h
Source/WebCore/css/StylePropertySet.cpp
Source/WebCore/css/StylePropertySet.h
Source/WebCore/editing/RemoveCSSPropertyCommand.cpp

index b67a3dd..044dc3a 100644 (file)
@@ -1,3 +1,19 @@
+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.
index 45c2b28..0eb3d9c 100644 (file)
@@ -23,6 +23,7 @@
 #define JSDOMBinding_h
 
 #include "CSSImportRule.h"
+#include "CSSStyleDeclaration.h"
 #include "CSSStyleSheet.h"
 #include "JSDOMGlobalObject.h"
 #include "JSDOMWrapper.h"
index 8e1870f..3910f31 100644 (file)
 #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;
 
index 50cfe00..fb49577 100644 (file)
 
 #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;
 
@@ -101,8 +102,8 @@ public:
     
     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;
index b85f97c..ca5baba 100644 (file)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "RemoveCSSPropertyCommand.h"
 
+#include "CSSStyleDeclaration.h"
 #include "StylePropertySet.h"
 #include <wtf/Assertions.h>