Index: cc/paint/paint_recorder.h |
diff --git a/cc/paint/paint_recorder.h b/cc/paint/paint_recorder.h |
index b48b906ca35a5bca9192346102c3faabf1fcf0ae..375730ca7a84a29718e2dad162dcc96ea9c0c0fc 100644 |
--- a/cc/paint/paint_recorder.h |
+++ b/cc/paint/paint_recorder.h |
@@ -51,15 +51,6 @@ class CC_PAINT_EXPORT PaintRecorder { |
return sk_ref_sp(static_cast<PaintRecord*>(picture.get())); |
} |
- ALWAYS_INLINE sk_sp<PaintRecord> finishRecordingAsPictureWithCull( |
- const SkRect& cull_rect, |
- uint32_t end_flags = 0) { |
- sk_sp<SkPicture> picture = |
- recorder_.finishRecordingAsPictureWithCull(cull_rect, end_flags); |
- canvas_.reset(); |
- return sk_ref_sp(static_cast<PaintRecord*>(picture.get())); |
- } |
- |
private: |
SkPictureRecorder recorder_; |
base::Optional<SkiaPaintCanvas> canvas_; |