Changeset 173206 in webkit
- Timestamp:
- Sep 3, 2014 8:34:42 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r173199 r173206 1 2014-09-03 Daniel Bates <dabates@apple.com> 2 3 [XSLT] Make WebKit build when XSLT is disabled 4 https://bugs.webkit.org/show_bug.cgi?id=136471 5 6 Reviewed by Simon Fraser. 7 8 Fixes a Clang compiler warning that file-static function WebCore::hasNoStyleInformation is unused. 9 This function is only called from ENABLE(XSLT)-guarded code. So, add a ENABLE(XSLT)-guard around 10 WebCore::hasNoStyleInformation(). 11 12 * xml/parser/XMLDocumentParserLibxml2.cpp: 13 (WebCore::hasNoStyleInformation): 14 1 15 2014-09-02 Brian J. Burg <burg@cs.washington.edu> 2 16 -
trunk/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
r170774 r173206 73 73 namespace WebCore { 74 74 75 #if ENABLE(XSLT) 75 76 static inline bool hasNoStyleInformation(Document* document) 76 77 { 77 78 if (document->sawElementsInKnownNamespaces()) 78 79 return false; 79 #if ENABLE(XSLT) 80 80 81 if (document->transformSourceDocument()) 81 82 return false; 82 #endif 83 83 84 if (!document->frame() || !document->frame()->page()) 84 85 return false; … … 92 93 return true; 93 94 } 95 #endif 94 96 95 97 class PendingCallbacks {
Note: See TracChangeset
for help on using the changeset viewer.