Title: [127113] trunk/Source/WebCore
Revision
127113
Author
[email protected]
Date
2012-08-30 01:25:28 -0700 (Thu, 30 Aug 2012)

Log Message

Build fix for WinCE after r126974.

* platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::reportMemoryUsage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127112 => 127113)


--- trunk/Source/WebCore/ChangeLog	2012-08-30 08:20:03 UTC (rev 127112)
+++ trunk/Source/WebCore/ChangeLog	2012-08-30 08:25:28 UTC (rev 127113)
@@ -1,3 +1,10 @@
+2012-08-30  Patrick Gansterer  <[email protected]>
+
+        Build fix for WinCE after r126974.
+
+        * platform/graphics/BitmapImage.cpp:
+        (WebCore::BitmapImage::reportMemoryUsage):
+
 2012-08-30  Adam Barth  <[email protected]>
 
         Replace uses of WTF::String::operator+= with StringBuilder

Modified: trunk/Source/WebCore/platform/graphics/BitmapImage.cpp (127112 => 127113)


--- trunk/Source/WebCore/platform/graphics/BitmapImage.cpp	2012-08-30 08:20:03 UTC (rev 127112)
+++ trunk/Source/WebCore/platform/graphics/BitmapImage.cpp	2012-08-30 08:25:28 UTC (rev 127113)
@@ -579,8 +579,13 @@
     info.addMember(m_source);
     info.addMember(m_frameTimer);
     info.addVector(m_frames);
-    for (unsigned i = 0; i < m_frameCount; ++i)
+    for (unsigned i = 0; i < m_frameCount; ++i) {
+#if OS(WINCE)
+        info.addRawBuffer(m_frames[i].m_frame.get(), m_frames[i].m_frameBytes);
+#else
         info.addRawBuffer(m_frames[i].m_frame, m_frames[i].m_frameBytes);
+#endif
+    }
 }
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to