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

Unified Diff: cc/paint/paint_record.h

Issue 2769533002: Clean up calls to ToSkPicture (Closed)
Patch Set: Rebase 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/skia_paint_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/paint_record.h
diff --git a/cc/paint/paint_record.h b/cc/paint/paint_record.h
index 92c7503b3b1ab7f60c96e9b63e4585a7f057fca0..8506606b59f2d7ddfc3ac1a996c6f0cf23067704 100644
--- a/cc/paint/paint_record.h
+++ b/cc/paint/paint_record.h
@@ -11,14 +11,6 @@ namespace cc {
using PaintRecord = SkPicture;
-inline const SkPicture* ToSkPicture(const PaintRecord* record) {
- return record;
-}
-
-inline SkPicture* ToSkPicture(PaintRecord* record) {
- return record;
-}
-
inline sk_sp<SkPicture> ToSkPicture(sk_sp<PaintRecord> record) {
return record;
}
« no previous file with comments | « cc/paint/paint_canvas.h ('k') | cc/paint/skia_paint_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698