Index: sky/engine/core/painting/Image.idl |
diff --git a/sky/engine/core/frame/ImageBitmap.idl b/sky/engine/core/painting/Image.idl |
similarity index 71% |
copy from sky/engine/core/frame/ImageBitmap.idl |
copy to sky/engine/core/painting/Image.idl |
index 903a2d7421f10c16804e3e29f10767cd7d119251..3d24b9aa40a1a3abc7218af9ebcb579e006686b1 100644 |
--- a/sky/engine/core/frame/ImageBitmap.idl |
+++ b/sky/engine/core/painting/Image.idl |
@@ -3,7 +3,10 @@ |
// found in the LICENSE file. |
[ |
-] interface ImageBitmap { |
+ Constructor(), |
+ ImplementedAs=CanvasImage, |
+] interface Image { |
readonly attribute long width; |
readonly attribute long height; |
+ attribute DOMString src; |
}; |