Index: cc/raster/raster_buffer_provider.h |
diff --git a/cc/raster/raster_buffer_provider.h b/cc/raster/raster_buffer_provider.h |
index 40611dfb96b3bb8abbf8372d1b04be3c76680f96..6055ccdacd69c35fd951969dc591309de7e9fd5c 100644 |
--- a/cc/raster/raster_buffer_provider.h |
+++ b/cc/raster/raster_buffer_provider.h |
@@ -54,6 +54,10 @@ class CC_EXPORT RasterBufferProvider { |
// Used for syncing resources to the worker context. |
virtual void OrderingBarrier() = 0; |
+ // In addition to above, also ensures that pending work is sent to the GPU |
+ // process. |
+ virtual void Flush() = 0; |
+ |
// Returns the format to use for the tiles. |
virtual ResourceFormat GetResourceFormat(bool must_support_alpha) const = 0; |