Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: Source/WebCore/platform/graphics/BitmapImage.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/platform/graphics/BitmapImage.h ('k') | Source/WebCore/platform/graphics/Color.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/BitmapImage.cpp
diff --git a/Source/WebCore/platform/graphics/BitmapImage.cpp b/Source/WebCore/platform/graphics/BitmapImage.cpp
index cf43073221acad7f3fc16d0c14677fad4afa49e9..6255fd88265e2b96c61887954ccf559b785af339 100644
--- a/Source/WebCore/platform/graphics/BitmapImage.cpp
+++ b/Source/WebCore/platform/graphics/BitmapImage.cpp
@@ -588,9 +588,7 @@ void FrameData::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
{
MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Image);
memoryObjectInfo->setClassName("FrameData");
-#if OS(WINCE) && !PLATFORM(QT)
- info.addRawBuffer(m_frame.get(), m_frameBytes, "NativeImage", "frame");
-#elif USE(SKIA)
+#if USE(SKIA)
info.addMember(m_frame, "frame", WTF::RetainingPointer);
#else
info.addRawBuffer(m_frame, m_frameBytes, "NativeImage", "frame");
« no previous file with comments | « Source/WebCore/platform/graphics/BitmapImage.h ('k') | Source/WebCore/platform/graphics/Color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698