Index: Source/platform/graphics/paint/DrawingRecorder.h |
diff --git a/Source/platform/graphics/paint/DrawingRecorder.h b/Source/platform/graphics/paint/DrawingRecorder.h |
index 06f349164e10c5f0efb3b69aa6f127fe8a0deeb5..ead9dba8f6263548b7ac081a8b752ce24726b644 100644 |
--- a/Source/platform/graphics/paint/DrawingRecorder.h |
+++ b/Source/platform/graphics/paint/DrawingRecorder.h |
@@ -21,7 +21,12 @@ class RenderObject; |
class PLATFORM_EXPORT DrawingRecorder { |
public: |
- explicit DrawingRecorder(GraphicsContext*, const DisplayItemClient, DisplayItem::Type, const FloatRect& bounds); |
+ enum CachePolicy { |
+ UseCacheIfAvailable, |
+ DisableCache, |
+ }; |
+ |
+ explicit DrawingRecorder(GraphicsContext*, const DisplayItemClient, DisplayItem::Type, const FloatRect&, CachePolicy = UseCacheIfAvailable); |
~DrawingRecorder(); |