Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (109115 => 109116)
--- trunk/Source/WebCore/CMakeLists.txt 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/CMakeLists.txt 2012-02-28 17:44:18 UTC (rev 109116)
@@ -508,6 +508,7 @@
css/ShadowValue.cpp
css/StyleMedia.cpp
css/StylePropertySet.cpp
+ css/StyleRule.cpp
css/StyleSheet.cpp
css/StyleSheetList.cpp
css/WebKitCSSFilterValue.cpp
Modified: trunk/Source/WebCore/ChangeLog (109115 => 109116)
--- trunk/Source/WebCore/ChangeLog 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/ChangeLog 2012-02-28 17:44:18 UTC (rev 109116)
@@ -1,3 +1,35 @@
+2012-02-28 Antti Koivisto <[email protected]>
+
+ Give StyleRule files of its own
+ https://bugs.webkit.org/show_bug.cgi?id=79778
+
+ Totally rubber-stamped by Andreas Kling.
+
+ * CMakeLists.txt:
+ * GNUmakefile.list.am:
+ * Target.pri:
+ * WebCore.gypi:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * css/CSSParser.cpp:
+ * css/CSSStyleRule.cpp:
+ (WebCore):
+ (WebCore::CSSStyleRule::style):
+ * css/CSSStyleRule.h:
+ (WebCore):
+ (CSSStyleRule):
+ * css/CSSStyleSelector.cpp:
+ * css/CSSStyleSheet.cpp:
+ * css/StyleRule.cpp: Copied from Source/WebCore/css/CSSStyleRule.cpp.
+ (WebCore):
+ * css/StyleRule.h: Copied from Source/WebCore/css/CSSStyleRule.h.
+ (WebCore):
+ * editing/EditingStyle.cpp:
+ * inspector/InspectorCSSAgent.cpp:
+ * inspector/InspectorInstrumentation.cpp:
+ * inspector/InspectorStyleSheet.cpp:
+ * page/PageSerializer.cpp:
+
2012-02-28 Pavel Feldman <[email protected]>
Web Inspector: remove window aspects from the timeline presentation model.
Modified: trunk/Source/WebCore/GNUmakefile.list.am (109115 => 109116)
--- trunk/Source/WebCore/GNUmakefile.list.am 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/GNUmakefile.list.am 2012-02-28 17:44:18 UTC (rev 109116)
@@ -1492,6 +1492,8 @@
Source/WebCore/css/StyleMedia.h \
Source/WebCore/css/StylePropertySet.cpp \
Source/WebCore/css/StylePropertySet.h \
+ Source/WebCore/css/StyleRule.cpp \
+ Source/WebCore/css/StyleRule.h \
Source/WebCore/css/StyleSheet.cpp \
Source/WebCore/css/StyleSheet.h \
Source/WebCore/css/StyleSheetList.cpp \
Modified: trunk/Source/WebCore/Target.pri (109115 => 109116)
--- trunk/Source/WebCore/Target.pri 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/Target.pri 2012-02-28 17:44:18 UTC (rev 109116)
@@ -461,6 +461,7 @@
css/ShadowValue.cpp \
css/StyleMedia.cpp \
css/StylePropertySet.cpp \
+ css/StyleRule.cpp \
css/StyleSheet.cpp \
css/StyleSheetList.cpp \
css/WebKitCSSFilterValue.cpp \
@@ -1594,6 +1595,7 @@
css/ShadowValue.h \
css/StyleMedia.h \
css/StylePropertySet.h \
+ css/StyleRule.h \
css/StyleSheet.h \
css/StyleSheetList.h \
css/WebKitCSSFilterValue.h \
Modified: trunk/Source/WebCore/WebCore.gypi (109115 => 109116)
--- trunk/Source/WebCore/WebCore.gypi 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/WebCore.gypi 2012-02-28 17:44:18 UTC (rev 109116)
@@ -2161,6 +2161,8 @@
'css/StyleMedia.h',
'css/StylePropertySet.cpp',
'css/StylePropertySet.h',
+ 'css/StyleRule.cpp',
+ 'css/StyleRule.h',
'css/StyleSheet.cpp',
'css/StyleSheet.h',
'css/StyleSheetList.cpp',
Modified: trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj (109115 => 109116)
--- trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj 2012-02-28 17:44:18 UTC (rev 109116)
@@ -35678,6 +35678,14 @@
>
</File>
<File
+ RelativePath="..\css\StyleRule.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\css\StyleRule.h"
+ >
+ </File>
+ <File
RelativePath="..\css\StyleSheet.cpp"
>
</File>
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (109115 => 109116)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2012-02-28 17:44:18 UTC (rev 109116)
@@ -5894,6 +5894,8 @@
E4AFD0100DAF335500F5F55C /* SVGSMILElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E4AFD00A0DAF335400F5F55C /* SVGSMILElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
E4BBED0E14F4025D003F0B98 /* PropertySetCSSStyleDeclaration.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BBED0C14F4025D003F0B98 /* PropertySetCSSStyleDeclaration.cpp */; };
E4BBED0F14F4025D003F0B98 /* PropertySetCSSStyleDeclaration.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BBED0D14F4025D003F0B98 /* PropertySetCSSStyleDeclaration.h */; };
+ E4BBED4C14FCDBA1003F0B98 /* StyleRule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4BBED4A14FCDBA1003F0B98 /* StyleRule.cpp */; };
+ E4BBED4D14FCDBA1003F0B98 /* StyleRule.h in Headers */ = {isa = PBXBuildFile; fileRef = E4BBED4B14FCDBA1003F0B98 /* StyleRule.h */; };
E4C1789A0EE6903800824D69 /* CSSSelectorList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4C178950EE6903800824D69 /* CSSSelectorList.cpp */; };
E4C1789B0EE6903800824D69 /* CSSSelectorList.h in Headers */ = {isa = PBXBuildFile; fileRef = E4C178960EE6903800824D69 /* CSSSelectorList.h */; };
E4C279580CF9741900E97B98 /* RenderMedia.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4C279560CF9741900E97B98 /* RenderMedia.cpp */; };
@@ -12946,6 +12948,8 @@
E4B423860CBFB73C00AF2ECE /* JSProgressEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSProgressEvent.h; sourceTree = "<group>"; };
E4BBED0C14F4025D003F0B98 /* PropertySetCSSStyleDeclaration.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PropertySetCSSStyleDeclaration.cpp; sourceTree = "<group>"; };
E4BBED0D14F4025D003F0B98 /* PropertySetCSSStyleDeclaration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PropertySetCSSStyleDeclaration.h; sourceTree = "<group>"; };
+ E4BBED4A14FCDBA1003F0B98 /* StyleRule.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StyleRule.cpp; sourceTree = "<group>"; };
+ E4BBED4B14FCDBA1003F0B98 /* StyleRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StyleRule.h; sourceTree = "<group>"; };
E4C178950EE6903800824D69 /* CSSSelectorList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CSSSelectorList.cpp; sourceTree = "<group>"; };
E4C178960EE6903800824D69 /* CSSSelectorList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSSelectorList.h; sourceTree = "<group>"; };
E4C279560CF9741900E97B98 /* RenderMedia.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderMedia.cpp; sourceTree = "<group>"; };
@@ -20317,6 +20321,8 @@
0FF50270102BA96A0066F39A /* StyleMedia.idl */,
A80E6DF90A199067007FB8C5 /* StylePropertySet.cpp */,
A80E6DFA0A199067007FB8C5 /* StylePropertySet.h */,
+ E4BBED4A14FCDBA1003F0B98 /* StyleRule.cpp */,
+ E4BBED4B14FCDBA1003F0B98 /* StyleRule.h */,
A8EA80050A19516E00A8EF5F /* StyleSheet.cpp */,
A8EA80040A19516E00A8EF5F /* StyleSheet.h */,
850656DC0AAB44D9002D15C0 /* StyleSheet.idl */,
@@ -24368,6 +24374,7 @@
E1BE512E0CF6C512002EA959 /* XSLTUnicodeSort.h in Headers */,
977E2E0F12F0FC9C00C13379 /* XSSAuditor.h in Headers */,
FD537353137B651800008DCE /* ZeroPole.h in Headers */,
+ E4BBED4D14FCDBA1003F0B98 /* StyleRule.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -27322,6 +27329,7 @@
E1BE512D0CF6C512002EA959 /* XSLTUnicodeSort.cpp in Sources */,
977E2E0E12F0FC9C00C13379 /* XSSAuditor.cpp in Sources */,
FD537352137B651800008DCE /* ZeroPole.cpp in Sources */,
+ E4BBED4C14FCDBA1003F0B98 /* StyleRule.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Modified: trunk/Source/WebCore/css/CSSParser.cpp (109115 => 109116)
--- trunk/Source/WebCore/css/CSSParser.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/css/CSSParser.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -74,6 +74,7 @@
#include "Settings.h"
#include "ShadowValue.h"
#include "StylePropertySet.h"
+#include "StyleRule.h"
#if ENABLE(CSS_FILTERS)
#include "WebKitCSSFilterValue.h"
#endif
Modified: trunk/Source/WebCore/css/CSSStyleRule.cpp (109115 => 109116)
--- trunk/Source/WebCore/css/CSSStyleRule.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/css/CSSStyleRule.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -22,42 +22,16 @@
#include "config.h"
#include "CSSStyleRule.h"
-#include "CSSPageRule.h"
#include "CSSParser.h"
#include "CSSSelector.h"
#include "CSSStyleSheet.h"
#include "Document.h"
#include "StylePropertySet.h"
-#include "StyledElement.h"
-#include "StyleSheet.h"
-
+#include "StyleRule.h"
#include <wtf/text/StringBuilder.h>
namespace WebCore {
-StyleRule::StyleRule(int line, CSSStyleRule* wrapper)
- : m_sourceLine(line)
- , m_cssomWrapper(wrapper)
-{
-}
-
-StyleRule::~StyleRule()
-{
-}
-
-void StyleRule::addSubresourceStyleURLs(ListHashSet<KURL>& urls, CSSStyleSheet* styleSheet)
-{
- if (!m_properties)
- return;
- m_properties->addSubresourceStyleURLs(urls, styleSheet);
-}
-
-CSSStyleRule* StyleRule::ensureCSSStyleRule() const
-{
- ASSERT(m_cssomWrapper);
- return m_cssomWrapper;
-}
-
CSSStyleRule::CSSStyleRule(CSSStyleSheet* parent, int line)
: CSSRule(parent, CSSRule::STYLE_RULE)
, m_styleRule(adoptPtr(new StyleRule(line, this)))
@@ -71,6 +45,11 @@
cleanup();
}
+CSSStyleDeclaration* CSSStyleRule::style() const
+{
+ return m_styleRule->properties()->ensureRuleCSSStyleDeclaration(this);
+}
+
typedef HashMap<const CSSStyleRule*, String> SelectorTextCache;
static SelectorTextCache& selectorTextCache()
{
Modified: trunk/Source/WebCore/css/CSSStyleRule.h (109115 => 109116)
--- trunk/Source/WebCore/css/CSSStyleRule.h 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/css/CSSStyleRule.h 2012-02-28 17:44:18 UTC (rev 109116)
@@ -23,43 +23,15 @@
#define CSSStyleRule_h
#include "CSSRule.h"
-#include "CSSSelectorList.h"
-#include "StylePropertySet.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefPtr.h>
namespace WebCore {
class CSSSelector;
-class CSSStyleRule;
-
-class StyleRule {
- WTF_MAKE_NONCOPYABLE(StyleRule); WTF_MAKE_FAST_ALLOCATED;
-public:
- StyleRule(int sourceLine, CSSStyleRule*);
- ~StyleRule();
-
- const CSSSelectorList& selectorList() const { return m_selectorList; }
- StylePropertySet* properties() const { return m_properties.get(); }
-
- void addSubresourceStyleURLs(ListHashSet<KURL>& urls, CSSStyleSheet*);
+class CSSStyleDeclaration;
+class StyleRule;
- int sourceLine() const { return m_sourceLine; }
-
- CSSStyleRule* ensureCSSStyleRule() const;
-
- void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectors) { m_selectorList.adoptSelectorVector(selectors); }
- void adoptSelectorList(CSSSelectorList& selectors) { m_selectorList.adopt(selectors); }
- void setProperties(PassRefPtr<StylePropertySet> properties) { m_properties = properties; }
-
-private:
- RefPtr<StylePropertySet> m_properties;
- CSSSelectorList m_selectorList;
- signed m_sourceLine;
-
- CSSStyleRule* m_cssomWrapper;
-};
-
class CSSStyleRule : public CSSRule {
public:
static PassRefPtr<CSSStyleRule> create(CSSStyleSheet* parent, int line)
@@ -71,7 +43,7 @@
String selectorText() const;
void setSelectorText(const String&);
- CSSStyleDeclaration* style() const { return m_styleRule->properties()->ensureRuleCSSStyleDeclaration(this); }
+ CSSStyleDeclaration* style() const;
String cssText() const;
Modified: trunk/Source/WebCore/css/CSSStyleSelector.cpp (109115 => 109116)
--- trunk/Source/WebCore/css/CSSStyleSelector.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/css/CSSStyleSelector.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -96,6 +96,7 @@
#include "SkewTransformOperation.h"
#include "StyleCachedImage.h"
#include "StylePendingImage.h"
+#include "StyleRule.h"
#include "StyleGeneratedImage.h"
#include "StyleSheetList.h"
#include "Text.h"
Modified: trunk/Source/WebCore/css/CSSStyleSheet.cpp (109115 => 109116)
--- trunk/Source/WebCore/css/CSSStyleSheet.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/css/CSSStyleSheet.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -34,6 +34,7 @@
#include "Node.h"
#include "SVGNames.h"
#include "SecurityOrigin.h"
+#include "StyleRule.h"
#include "TextEncoding.h"
#include <wtf/Deque.h>
Copied: trunk/Source/WebCore/css/StyleRule.cpp (from rev 109091, trunk/Source/WebCore/css/CSSStyleRule.cpp) (0 => 109116)
--- trunk/Source/WebCore/css/StyleRule.cpp (rev 0)
+++ trunk/Source/WebCore/css/StyleRule.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -0,0 +1,50 @@
+/*
+ * (C) 1999-2003 Lars Knoll ([email protected])
+ * (C) 2002-2003 Dirk Mueller ([email protected])
+ * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "config.h"
+#include "StyleRule.h"
+
+namespace WebCore {
+
+StyleRule::StyleRule(int line, CSSStyleRule* wrapper)
+ : m_sourceLine(line)
+ , m_cssomWrapper(wrapper)
+{
+}
+
+StyleRule::~StyleRule()
+{
+}
+
+void StyleRule::addSubresourceStyleURLs(ListHashSet<KURL>& urls, CSSStyleSheet* styleSheet)
+{
+ if (!m_properties)
+ return;
+ m_properties->addSubresourceStyleURLs(urls, styleSheet);
+}
+
+CSSStyleRule* StyleRule::ensureCSSStyleRule() const
+{
+ ASSERT(m_cssomWrapper);
+ return m_cssomWrapper;
+}
+
+} // namespace WebCore
Copied: trunk/Source/WebCore/css/StyleRule.h (from rev 109091, trunk/Source/WebCore/css/CSSStyleRule.h) (0 => 109116)
--- trunk/Source/WebCore/css/StyleRule.h (rev 0)
+++ trunk/Source/WebCore/css/StyleRule.h 2012-02-28 17:44:18 UTC (rev 109116)
@@ -0,0 +1,63 @@
+/*
+ * (C) 1999-2003 Lars Knoll ([email protected])
+ * (C) 2002-2003 Dirk Mueller ([email protected])
+ * Copyright (C) 2002, 2006, 2008, 2012 Apple Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef StyleRule_h
+#define StyleRule_h
+
+#include "CSSSelectorList.h"
+#include "StylePropertySet.h"
+#include <wtf/PassRefPtr.h>
+#include <wtf/RefPtr.h>
+
+namespace WebCore {
+
+class CSSStyleRule;
+
+class StyleRule {
+ WTF_MAKE_NONCOPYABLE(StyleRule); WTF_MAKE_FAST_ALLOCATED;
+public:
+ StyleRule(int sourceLine, CSSStyleRule*);
+ ~StyleRule();
+
+ const CSSSelectorList& selectorList() const { return m_selectorList; }
+ StylePropertySet* properties() const { return m_properties.get(); }
+
+ void addSubresourceStyleURLs(ListHashSet<KURL>& urls, CSSStyleSheet*);
+
+ int sourceLine() const { return m_sourceLine; }
+
+ CSSStyleRule* ensureCSSStyleRule() const;
+
+ void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectors) { m_selectorList.adoptSelectorVector(selectors); }
+ void adoptSelectorList(CSSSelectorList& selectors) { m_selectorList.adopt(selectors); }
+ void setProperties(PassRefPtr<StylePropertySet> properties) { m_properties = properties; }
+
+private:
+ RefPtr<StylePropertySet> m_properties;
+ CSSSelectorList m_selectorList;
+ signed m_sourceLine;
+
+ CSSStyleRule* m_cssomWrapper;
+};
+
+} // namespace WebCore
+
+#endif // StyleRule_h
Modified: trunk/Source/WebCore/editing/EditingStyle.cpp (109115 => 109116)
--- trunk/Source/WebCore/editing/EditingStyle.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/editing/EditingStyle.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -44,6 +44,7 @@
#include "QualifiedName.h"
#include "RenderStyle.h"
#include "StylePropertySet.h"
+#include "StyleRule.h"
#include "StyledElement.h"
#include "htmlediting.h"
#include "visible_units.h"
Modified: trunk/Source/WebCore/inspector/InspectorCSSAgent.cpp (109115 => 109116)
--- trunk/Source/WebCore/inspector/InspectorCSSAgent.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/inspector/InspectorCSSAgent.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -46,6 +46,7 @@
#include "Node.h"
#include "NodeList.h"
#include "StylePropertySet.h"
+#include "StyleRule.h"
#include "StyleSheetList.h"
#include <wtf/CurrentTime.h>
Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp (109115 => 109116)
--- trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -63,6 +63,7 @@
#include "ScriptArguments.h"
#include "ScriptCallStack.h"
#include "ScriptProfile.h"
+#include "StyleRule.h"
#include "WorkerContext.h"
#include "WorkerThread.h"
#include "XMLHttpRequest.h"
Modified: trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp (109115 => 109116)
--- trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -46,6 +46,7 @@
#include "InspectorValues.h"
#include "Node.h"
#include "SVGNames.h"
+#include "StyleRule.h"
#include "StyleSheetList.h"
#include "WebKitCSSKeyframesRule.h"
Modified: trunk/Source/WebCore/page/PageSerializer.cpp (109115 => 109116)
--- trunk/Source/WebCore/page/PageSerializer.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebCore/page/PageSerializer.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -52,6 +52,7 @@
#include "Page.h"
#include "StyleCachedImage.h"
#include "StyleImage.h"
+#include "StyleRule.h"
#include "Text.h"
#include "TextEncoding.h"
#include <wtf/text/CString.h>
Modified: trunk/Source/WebKit/qt/Api/qwebelement.cpp (109115 => 109116)
--- trunk/Source/WebKit/qt/Api/qwebelement.cpp 2012-02-28 17:20:30 UTC (rev 109115)
+++ trunk/Source/WebKit/qt/Api/qwebelement.cpp 2012-02-28 17:44:18 UTC (rev 109116)
@@ -33,6 +33,7 @@
#include "GraphicsContext.h"
#include "HTMLElement.h"
#include "StylePropertySet.h"
+#include "StyleRule.h"
#if USE(JSC)
#include "Completion.h"
#include "JSGlobalObject.h"