Index: cc/paint/paint_recorder.h |
diff --git a/cc/paint/paint_recorder.h b/cc/paint/paint_recorder.h |
index b48b906ca35a5bca9192346102c3faabf1fcf0ae..362096ad6155c4af01ad45272896e72e4951299b 100644 |
--- a/cc/paint/paint_recorder.h |
+++ b/cc/paint/paint_recorder.h |
@@ -42,9 +42,8 @@ class CC_PAINT_EXPORT PaintRecorder { |
return canvas_.has_value() ? &canvas_.value() : nullptr; |
} |
- ALWAYS_INLINE sk_sp<PaintRecord> finishRecordingAsPicture( |
- uint32_t end_flags = 0) { |
- sk_sp<SkPicture> picture = recorder_.finishRecordingAsPicture(end_flags); |
+ ALWAYS_INLINE sk_sp<PaintRecord> finishRecordingAsPicture() { |
+ sk_sp<SkPicture> picture = recorder_.finishRecordingAsPicture(); |
// Some users (e.g. printing) use the existence of the recording canvas |
// to know if recording is finished, so reset it here. |
canvas_.reset(); |