Title: [108385] trunk/Source/WebCore
Revision
108385
Author
[email protected]
Date
2012-02-21 12:48:05 -0800 (Tue, 21 Feb 2012)

Log Message

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:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108384 => 108385)


--- trunk/Source/WebCore/ChangeLog	2012-02-21 20:43:24 UTC (rev 108384)
+++ trunk/Source/WebCore/ChangeLog	2012-02-21 20:48:05 UTC (rev 108385)
@@ -1,3 +1,19 @@
+2012-02-21  Antti Koivisto  <[email protected]>
+
+        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  <[email protected]>
 
         Fix bug from r107672.

Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (108384 => 108385)


--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h	2012-02-21 20:43:24 UTC (rev 108384)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h	2012-02-21 20:48:05 UTC (rev 108385)
@@ -23,6 +23,7 @@
 #define JSDOMBinding_h
 
 #include "CSSImportRule.h"
+#include "CSSStyleDeclaration.h"
 #include "CSSStyleSheet.h"
 #include "JSDOMGlobalObject.h"
 #include "JSDOMWrapper.h"

Modified: trunk/Source/WebCore/css/StylePropertySet.cpp (108384 => 108385)


--- trunk/Source/WebCore/css/StylePropertySet.cpp	2012-02-21 20:43:24 UTC (rev 108384)
+++ trunk/Source/WebCore/css/StylePropertySet.cpp	2012-02-21 20:48:05 UTC (rev 108385)
@@ -22,23 +22,15 @@
 #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;
 

Modified: trunk/Source/WebCore/css/StylePropertySet.h (108384 => 108385)


--- trunk/Source/WebCore/css/StylePropertySet.h	2012-02-21 20:43:24 UTC (rev 108384)
+++ trunk/Source/WebCore/css/StylePropertySet.h	2012-02-21 20:48:05 UTC (rev 108385)
@@ -23,14 +23,15 @@
 
 #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 @@
     
     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;

Modified: trunk/Source/WebCore/editing/RemoveCSSPropertyCommand.cpp (108384 => 108385)


--- trunk/Source/WebCore/editing/RemoveCSSPropertyCommand.cpp	2012-02-21 20:43:24 UTC (rev 108384)
+++ trunk/Source/WebCore/editing/RemoveCSSPropertyCommand.cpp	2012-02-21 20:48:05 UTC (rev 108385)
@@ -26,6 +26,7 @@
 #include "config.h"
 #include "RemoveCSSPropertyCommand.h"
 
+#include "CSSStyleDeclaration.h"
 #include "StylePropertySet.h"
 #include <wtf/Assertions.h>
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to