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

Unified Diff: sky/engine/core/painting/Canvas.idl

Issue 1190123003: Decouple Canvas from DisplayList and map Picture and PictureRecorder more directly to their Skia co… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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: sky/engine/core/painting/Canvas.idl
diff --git a/sky/engine/core/painting/Canvas.idl b/sky/engine/core/painting/Canvas.idl
index 538e492905fec0d317325082afcfbefe3e73898f..73d4ba2a0c6ec9a3decdee0d5a62846609536a85 100644
--- a/sky/engine/core/painting/Canvas.idl
+++ b/sky/engine/core/painting/Canvas.idl
@@ -4,11 +4,6 @@
// TODO(mpcomplete): Figure out a better SkMatrix representation.
interface Canvas {
- // Height and width are used for culling optimizations and do not necessarily
- // imply that the Canvas is backed by a buffer with any specific bounds.
- readonly attribute float height;
- readonly attribute float width;
-
void save();
// TODO(jackson): Paint should be optional, but making it optional causes crash
void saveLayer(Rect bounds, /* optional */ Paint paint);

Powered by Google App Engine
This is Rietveld 408576698