Index: third_party/WebKit/Source/platform/graphics/BitmapImage.h |
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.h b/third_party/WebKit/Source/platform/graphics/BitmapImage.h |
index 61e0594a8072ee8dd424acb9ad668b8ebfd7add7..06d879aba14be1d6134f29fd34070a465c44f20b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.h |
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.h |
@@ -36,6 +36,7 @@ |
#include "platform/graphics/ImageOrientation.h" |
#include "platform/graphics/ImageSource.h" |
#include "platform/image-decoders/ImageAnimation.h" |
+#include "public/platform/WebMemoryDumpProvider.h" |
#include "wtf/Forward.h" |
#include "wtf/OwnPtr.h" |
@@ -43,7 +44,7 @@ namespace blink { |
template <typename T> class Timer; |
-class PLATFORM_EXPORT BitmapImage final : public Image { |
+class PLATFORM_EXPORT BitmapImage final : public Image, public WebMemoryDumpProvider { |
friend class GeneratedImage; |
friend class CrossfadeGeneratedImage; |
friend class GradientGeneratedImage; |
@@ -95,6 +96,9 @@ public: |
ImageOrientation currentFrameOrientation(); |
+ // Overridden from WebMemoryDumpProvider. |
+ bool onMemoryDump(WebMemoryDumpLevelOfDetail, WebProcessMemoryDump*) override; |
+ |
private: |
friend class BitmapImageTest; |