Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3128)

Unified Diff: cc/paint/paint_recorder.h

Issue 2743363006: Clean up cc/paint interfaces (Closed)
Patch Set: Fix PaintControllerTest v2 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/paint/paint_canvas.h ('k') | cc/paint/paint_shader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « cc/paint/paint_canvas.h ('k') | cc/paint/paint_shader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698