Show
Ignore:
Timestamp:
08/15/08 13:25:16 (5 months ago)
Author:
mbensi
Message:

merge with webkit revision 35774

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/BAL/WKAL/Concretizations/Graphics/WK/BCSVGImageWK.h

    r243 r437  
    4343    class SVGImage : public Image { 
    4444    public: 
    45         SVGImage(ImageObserver*); 
     45        static PassRefPtr<SVGImage> create(ImageObserver* observer) 
     46        { 
     47            return adoptRef(new SVGImage(observer)); 
     48        } 
    4649        ~SVGImage(); 
    4750 
     
    5558        virtual bool dataChanged(bool allDataReceived); 
    5659 
     60        // FIXME: SVGImages are underreporting decoded sizes and will be unable 
     61        // to prune because these functions are not implemented yet. 
     62        virtual void destroyDecodedData(bool incremental = false) { } 
     63        virtual unsigned decodedSize() const { return 0; } 
     64 
    5765        virtual NativeImagePtr frameAtIndex(size_t) { return 0; } 
    5866         
    5967private: 
     68        SVGImage(ImageObserver*); 
    6069        virtual void draw(GraphicsContext*, const FloatRect& fromRect, const FloatRect& toRect, CompositeOperator); 
    6170