Title: [153750] trunk/Source/WebCore
- Revision
- 153750
- Author
- [email protected]
- Date
- 2013-08-06 05:52:36 -0700 (Tue, 06 Aug 2013)
Log Message
[Qt] Fix minimal build.
Unreviewed build fix.
Fix build witt XSLT disabled
* xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::hasNoStyleInformation):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (153749 => 153750)
--- trunk/Source/WebCore/ChangeLog 2013-08-06 12:45:10 UTC (rev 153749)
+++ trunk/Source/WebCore/ChangeLog 2013-08-06 12:52:36 UTC (rev 153750)
@@ -1,3 +1,14 @@
+2013-08-06 Allan Sandfeld Jensen <[email protected]>
+
+ [Qt] Fix minimal build.
+
+ Unreviewed build fix.
+
+ Fix build witt XSLT disabled
+
+ * xml/parser/XMLDocumentParserLibxml2.cpp:
+ (WebCore::hasNoStyleInformation):
+
2013-08-06 Zan Dobersek <[email protected]>
webkit-gtk fails to build with bison-3.0
Modified: trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp (153749 => 153750)
--- trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp 2013-08-06 12:45:10 UTC (rev 153749)
+++ trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp 2013-08-06 12:52:36 UTC (rev 153750)
@@ -78,9 +78,12 @@
static inline bool hasNoStyleInformation(Document* document)
{
- if (document->sawElementsInKnownNamespaces() || document->transformSourceDocument())
+ if (document->sawElementsInKnownNamespaces())
return false;
-
+#if ENABLE(XSLT)
+ if (document->transformSourceDocument())
+ return false;
+#endif
if (!document->frame() || !document->frame()->page())
return false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes