Skip to content
  • darin@apple.com's avatar
    2008-05-19 Darin Adler <darin@apple.com> · a79c5fb7
    darin@apple.com authored
            Reviewed by Mitz.
    
            - tweak CSSReflectValue, possibly fixing the leaks seen on the buildbot
    
            * WebCore.vcproj/WebCore.vcproj: Added CSSReflectionDirection.h. 
            * WebCore.xcodeproj/project.pbxproj: Ditto.
            * css/CSSReflectionDirection.h: Added.
    
            * css/CSSComputedStyleDeclaration.cpp:
            (WebCore::valueForReflection): Changed to use CSSReflectValue::create.
            * css/CSSParser.cpp:
            (WebCore::CSSParser::parseReflect): Ditto.
    
            * css/CSSReflectValue.h: Added a create function. Got rid of the setter
            functions, which had const PassRefPtr& arguments -- those probably caused
            the leaks although I'm not exactly sure why. Made the contructor and all
            the data members private.
    
            * rendering/style/RenderStyle.h: Changed to include CSSReflectionDirection.h
            instead of CSSReflectValue.h so we can tweak CSSReflectValue without
            recompiling the world.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a79c5fb7