Index: ui/gl/gl_image.h |
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
index b48b687957c2fae695e31f55554e599a821dd53d..0469b2c68331762fd3cc3c6e78a196117985a8f3 100644 |
--- a/ui/gl/gl_image.h |
+++ b/ui/gl/gl_image.h |
@@ -6,6 +6,7 @@ |
#define UI_GL_GL_IMAGE_H_ |
#include "base/memory/ref_counted.h" |
+#include "base/trace_event/process_memory_dump.h" |
#include "ui/gfx/geometry/point.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/geometry/rect_f.h" |
@@ -61,6 +62,10 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
const Rect& bounds_rect, |
const RectF& crop_rect) = 0; |
+ virtual void DumpMemory(base::trace_event::ProcessMemoryDump* pmd, |
+ uint64_t process_tracing_id, |
+ const std::string& dump_name) = 0; |
+ |
protected: |
virtual ~GLImage() {} |