EOM
Created attachment 163144 [details] Patch
Comment on attachment 163144 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=163144&action=review > Source/WebCore/platform/graphics/skia/NativeImageSkia.cpp:40 > +#include "WebCoreMemoryInstrumentation.h" As discussed, we shouldn't add dependency on WebCore.
Created attachment 166887 [details] Patch
Comment on attachment 166887 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166887&action=review > Source/WebCore/platform/graphics/BitmapImage.cpp:586 > +void reportMemoryUsage(const NativeImageSkia* const&, MemoryObjectInfo*); Let's move this declaration into NativeImagePtr.h next to NativeImagePtr typdef for Skia. > Source/WebCore/platform/graphics/skia/NativeImageSkia.cpp:167 > +void reportSkBitmapMemoryUsage(MemoryClassInfo& info, const SkBitmap& image) missing static? > Source/WebCore/platform/graphics/skia/NativeImageSkia.cpp:178 > + reportSkBitmapMemoryUsage(info, m_image); Why not declare WTF::reportMemoryUsage(...SkBitmap... and call addMember here?
Created attachment 166891 [details] Patch
Committed r130289: <http://trac.webkit.org/changeset/130289>