Unreviewed fix for ImageSourceCG.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2012 14:43:26 +0000 (14:43 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2012 14:43:26 +0000 (14:43 +0000)
* platform/graphics/cg/ImageSourceCG.cpp:
(WebCore::ImageSource::reportMemoryUsage):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cg/ImageSourceCG.cpp

index a813150..382fb33 100644 (file)
@@ -1,5 +1,12 @@
 2012-10-17  Ilya Tikhonovsky  <loislo@chromium.org>
 
+        Unreviewed fix for ImageSourceCG.
+
+        * platform/graphics/cg/ImageSourceCG.cpp:
+        (WebCore::ImageSource::reportMemoryUsage):
+
+2012-10-17  Ilya Tikhonovsky  <loislo@chromium.org>
+
         Unreviewed fix for compilation on CG bots.
 
         * platform/graphics/cg/ImageSourceCG.cpp:
index 0cc17f4..c133364 100644 (file)
@@ -400,7 +400,7 @@ unsigned ImageSource::frameBytesAtIndex(size_t index) const
 void ImageSource::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
 {
     MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Image);
-    info.addMember(m_decoder);
+    // FIXME: addMember call required for m_decoder.
 }
 
 }