Skip to content
  • darin@apple.com's avatar
    2010-07-07 Darin Adler <darin@apple.com> · bb381c75
    darin@apple.com authored
            Reviewed by Adam Barth.
    
            Turn on adoptRef assertion for RefCounted
            https://bugs.webkit.org/show_bug.cgi?id=41547
    
            * wtf/CrossThreadRefCounted.h: Fixed include style. Includes of other
            WTF headers should use "" includes; consistent in most WTF headers.
            Added a call to relaxAdoptionRequirement.
    
            * wtf/RefCounted.h: Fixed include style. Removed LOOSE_REF_COUNTED.
            Added relaxAdoptionRequirement.
    2010-07-07  Darin Adler  <darin@apple.com>
    
            Reviewed by Adam Barth.
    
            Turn on adoptRef assertion for RefCounted
            https://bugs.webkit.org/show_bug.cgi?id=41547
    
            The WebCore part of this fixes all the assertions I saw in testing.
    
            * html/FileReader.cpp:
            (WebCore::FileReader::readAsBinaryString): Added null checks.
            Callers from JavaScript can pass the wrong type, which becomes null.
            (WebCore::FileReader::readAsText): Ditto.
            (WebCore::FileReader::r...
    bb381c75