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

Unified Diff: sky/examples/fn/lib/fakesky.dart

Issue 1000863002: Fix errors in Sky detected by Dart analyzer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: One more Created 5 years, 9 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
« no previous file with comments | « no previous file | sky/framework/animation/timer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/lib/fakesky.dart
diff --git a/sky/examples/fn/lib/fakesky.dart b/sky/examples/fn/lib/fakesky.dart
index 408616016aac3701702629f3bd49a269b1d59211..b927f1452f9642a209bb31b0bc3ca2b8d91414db 100644
--- a/sky/examples/fn/lib/fakesky.dart
+++ b/sky/examples/fn/lib/fakesky.dart
@@ -117,7 +117,7 @@ class Document extends ParentNode {
}
class HTMLImageElement extends Element {
- Image();
+ HTMLImageElement();
String src;
Object style = {};
}
@@ -139,6 +139,7 @@ class Window {
new Timer(const Duration(milliseconds: 16), () {
_callRAF(fn);
});
+ return 1;
}
void cancelAnimationFrame(int id) {
@@ -150,7 +151,7 @@ Document document = new Document();
Window window = new Window();
class ClientRect {
- double top
+ double top;
double right;
double bottomr;
double left;
« no previous file with comments | « no previous file | sky/framework/animation/timer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698