Index: ui/gl/gl_image.h |
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
index 8a7a21203f9404196d8a10caae8afc27ca042ae5..7fa4068efe5d34296354e6125886d753a7cae405 100644 |
--- a/ui/gl/gl_image.h |
+++ b/ui/gl/gl_image.h |
@@ -68,6 +68,9 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
const gfx::Rect& bounds_rect, |
const gfx::RectF& crop_rect) = 0; |
+ // Flush any preceding rendering for the image. |
+ virtual void Flush() = 0; |
+ |
// Dumps information about the memory backing the GLImage to a dump named |
// |dump_name|. |
virtual void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, |