Title: [113925] trunk/Source/WebCore
- Revision
- 113925
- Author
- [email protected]
- Date
- 2012-04-11 16:41:53 -0700 (Wed, 11 Apr 2012)
Log Message
Try to fix build with XSLT disabled.
Not reviewed.
* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::parseStyleSheet):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (113924 => 113925)
--- trunk/Source/WebCore/ChangeLog 2012-04-11 23:31:18 UTC (rev 113924)
+++ trunk/Source/WebCore/ChangeLog 2012-04-11 23:41:53 UTC (rev 113925)
@@ -1,3 +1,12 @@
+2012-04-11 Antti Koivisto <[email protected]>
+
+ Try to fix build with XSLT disabled.
+
+ Not reviewed.
+
+ * dom/ProcessingInstruction.cpp:
+ (WebCore::ProcessingInstruction::parseStyleSheet):
+
2012-04-11 Erik Arvidsson <[email protected]>
File API does not support DOM events (like addEventListener)
Modified: trunk/Source/WebCore/dom/ProcessingInstruction.cpp (113924 => 113925)
--- trunk/Source/WebCore/dom/ProcessingInstruction.cpp 2012-04-11 23:31:18 UTC (rev 113924)
+++ trunk/Source/WebCore/dom/ProcessingInstruction.cpp 2012-04-11 23:41:53 UTC (rev 113925)
@@ -236,8 +236,10 @@
{
if (m_isCSS)
static_cast<CSSStyleSheet*>(m_sheet.get())->internal()->parseString(sheet, CSSStrictMode);
+#if ENABLE(XSLT)
else if (m_isXSL)
static_cast<XSLStyleSheet*>(m_sheet.get())->parseString(sheet);
+#endif
if (m_cachedSheet)
m_cachedSheet->removeClient(this);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes