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

Unified Diff: ui/compositor/paint_recorder.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Resolving comments Created 3 years, 5 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
Index: ui/compositor/paint_recorder.h
diff --git a/ui/compositor/paint_recorder.h b/ui/compositor/paint_recorder.h
index 3785c1bbc2359c5bd590609db370a7a426baacfe..fc09ba97c0355dd28509f277df442186c6c8c801 100644
--- a/ui/compositor/paint_recorder.h
+++ b/ui/compositor/paint_recorder.h
@@ -29,6 +29,8 @@ class COMPOSITOR_EXPORT PaintRecorder {
public:
// The |cache| is owned by the caller and must be kept alive while
// PaintRecorder is in use. Canvas is bounded by |recording_size|.
+ // TODO(malaykeshav): |recording_size| is now redundant and can be removed
+ // since context already has size information.
PaintRecorder(const PaintContext& context,
const gfx::Size& recording_size,
PaintCache* cache);

Powered by Google App Engine
This is Rietveld 408576698