| Index: Source/core/platform/graphics/BitmapImage.cpp
|
| diff --git a/Source/core/platform/graphics/BitmapImage.cpp b/Source/core/platform/graphics/BitmapImage.cpp
|
| index 2e326873ac85fb2ac344cd949f0ebce313c8d698..9a36d05759daffd2d25e7cb8d2a4b34b04abfcfb 100644
|
| --- a/Source/core/platform/graphics/BitmapImage.cpp
|
| +++ b/Source/core/platform/graphics/BitmapImage.cpp
|
| @@ -113,6 +113,7 @@ bool BitmapImage::hasSingleSecurityOrigin() const
|
|
|
| void BitmapImage::destroyDecodedData()
|
| {
|
| + TRACE_EVENT2("webkit", "destroyDecodedData", "debug", debug(data()), "currentFrame", (int)m_currentFrame);
|
| for (size_t i = 0; i < m_frames.size(); ++i) {
|
| // The underlying frame isn't actually changing (we're just trying to
|
| // save the memory for the framebuffer data), so we don't need to clear
|
| @@ -371,6 +372,7 @@ bool BitmapImage::ensureFrameIsCached(size_t index)
|
|
|
| PassRefPtr<NativeImageSkia> BitmapImage::frameAtIndex(size_t index)
|
| {
|
| + TRACE_EVENT2("webkit", "frameAtIndex", "debug", debug(data()), "index", (int)index);
|
| if (!ensureFrameIsCached(index))
|
| return 0;
|
| return m_frames[index].m_frame;
|
|
|