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

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

Issue 1122423009: Make it possible to custom-paint without an Element. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Comment tweak Created 5 years, 7 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/PaintingContext.idl
diff --git a/sky/engine/core/painting/PaintingContext.idl b/sky/engine/core/painting/PaintingContext.idl
index 8eec203b5b9fbde6570dc4004f7244c640b03275..3f87cb8e80ecbdb38e3fb51f6b8c54c15281a276 100644
--- a/sky/engine/core/painting/PaintingContext.idl
+++ b/sky/engine/core/painting/PaintingContext.idl
@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-interface PaintingContext {
- readonly attribute double height;
- readonly attribute double width;
-
- void drawCircle(double x, double y, double radius, Paint paint);
+interface PaintingContext : Canvas {
void commit();
};

Powered by Google App Engine
This is Rietveld 408576698