Changeset 21136 in webkit


Ignore:
Timestamp:
Apr 26, 2007 10:48:36 PM (17 years ago)
Author:
bdash
Message:

2007-04-26 Matt Perry <mpComplete@gmail.com>

Reviewed by Maciej.

Added a version check to hackAroundLibXMLEntityBug, since that bug has
been fixed in recent versions of libxml2.

  • dom/XMLTokenizer.cpp: (WebCore::hackAroundLibXMLEntityBug):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r21135 r21136  
     12007-04-26  Matt Perry  <mpComplete@gmail.com>
     2
     3        Reviewed by Maciej.
     4
     5        Added a version check to hackAroundLibXMLEntityBug, since that bug has
     6        been fixed in recent versions of libxml2.
     7
     8        * dom/XMLTokenizer.cpp:
     9        (WebCore::hackAroundLibXMLEntityBug):
     10
    1112007-04-26  Christopher Brichford  <chrisb@adobe.com>
    212
  • trunk/WebCore/dom/XMLTokenizer.cpp

    r21118 r21136  
    975975static inline bool hackAroundLibXMLEntityBug(void* closure)
    976976{
     977#if LIBXML_VERSION >= 20627
     978    // This bug has been fixed in libxml 2.6.27.
     979    return false;
     980#else
    977981    return static_cast<xmlParserCtxtPtr>(closure)->node;
     982#endif
    978983}
    979984
Note: See TracChangeset for help on using the changeset viewer.