2008-04-13 Julien Chaffraix <jchaffraix@webkit.org>
authorjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Apr 2008 01:49:04 +0000 (01:49 +0000)
committerjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Apr 2008 01:49:04 +0000 (01:49 +0000)
        Reviewed by David.

        More SVG filters build fix.

        * svg/graphics/filters/SVGFEImage.cpp:
        (WebCore::SVGFEImage::~SVGFEImage):
        (WebCore::SVGFEImage::setCachedImage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31854 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/svg/graphics/filters/SVGFEImage.cpp

index f474730..6d25f2c 100644 (file)
@@ -1,3 +1,13 @@
+2008-04-13  Julien Chaffraix  <jchaffraix@webkit.org>
+
+        Reviewed by David.
+
+        More SVG filters build fix.
+
+        * svg/graphics/filters/SVGFEImage.cpp:
+        (WebCore::SVGFEImage::~SVGFEImage):
+        (WebCore::SVGFEImage::setCachedImage):
+
 2008-04-13  David Hyatt  <hyatt@apple.com>
 
         Fix build bustage on the filters SVG code path (not built by default).
index 0c9eaee..ab96b81 100644 (file)
@@ -38,7 +38,7 @@ SVGFEImage::SVGFEImage(SVGResourceFilter* filter)
 SVGFEImage::~SVGFEImage()
 {
     if (m_cachedImage)
-        m_cachedImage->deref(this);
+        m_cachedImage->removeClient(this);
 }
 
 CachedImage* SVGFEImage::cachedImage() const
@@ -52,12 +52,12 @@ void SVGFEImage::setCachedImage(CachedImage* image)
         return;
     
     if (m_cachedImage)
-        m_cachedImage->deref(this);
+        m_cachedImage->removeClient(this);
 
     m_cachedImage = image;
 
     if (m_cachedImage)
-        m_cachedImage->ref(this);
+        m_cachedImage->addClient(this);
 }
 
 TextStream& SVGFEImage::externalRepresentation(TextStream& ts) const