Unreviewed: Single line build fix.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Aug 2012 09:37:26 +0000 (09:37 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Aug 2012 09:37:26 +0000 (09:37 +0000)
* platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::reportMemoryUsage):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/BitmapImage.cpp

index f997834..bc01446 100644 (file)
@@ -1,3 +1,10 @@
+2012-08-29  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Unreviewed: Single line build fix.
+
+        * platform/graphics/BitmapImage.cpp:
+        (WebCore::BitmapImage::reportMemoryUsage):
+
 2012-08-24  Ilya Tikhonovsky  <loislo@chromium.org>
 
         Web Inspector: NMI: Instrument WebCore part of the Image class hierarchy
index 77fa2f3..ec89282 100644 (file)
@@ -579,9 +579,8 @@ void BitmapImage::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
     info.addMember(m_source);
     info.addMember(m_frameTimer);
     info.addVector(m_frames);
-    int size = frameBytes(m_size);
     for (unsigned i = 0; i < m_frameCount; ++i)
-        info.addRawBuffer(m_frames[i].m_frame, size);
+        info.addRawBuffer(m_frames[i].m_frame, m_frames[i].m_frameBytes);
 }
 
 }