Commit d8fe7274 authored by Adam Barth's avatar Adam Barth

Fix errors in Sky detected by Dart analyzer

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1000863002
parent 0beafd35
...@@ -117,7 +117,7 @@ class Document extends ParentNode { ...@@ -117,7 +117,7 @@ class Document extends ParentNode {
} }
class HTMLImageElement extends Element { class HTMLImageElement extends Element {
Image(); HTMLImageElement();
String src; String src;
Object style = {}; Object style = {};
} }
...@@ -139,6 +139,7 @@ class Window { ...@@ -139,6 +139,7 @@ class Window {
new Timer(const Duration(milliseconds: 16), () { new Timer(const Duration(milliseconds: 16), () {
_callRAF(fn); _callRAF(fn);
}); });
return 1;
} }
void cancelAnimationFrame(int id) { void cancelAnimationFrame(int id) {
...@@ -150,7 +151,7 @@ Document document = new Document(); ...@@ -150,7 +151,7 @@ Document document = new Document();
Window window = new Window(); Window window = new Window();
class ClientRect { class ClientRect {
double top double top;
double right; double right;
double bottomr; double bottomr;
double left; double left;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment