mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix errors in Sky detected by Dart analyzer
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1000863002
This commit is contained in:
parent
0beafd3555
commit
d8fe727434
@ -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 {
|
|||||||
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();
|
|||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user