Skip to content

Instantly share code, notes, and snippets.

diff --git a/web/tableau/pile.dart b/web/tableau/pile.dart
index 7d8fdff..c0a3adb 100644
--- a/web/tableau/pile.dart
+++ b/web/tableau/pile.dart
@@ -5,10 +5,10 @@
part of freecell.tableau;
abstract class Pile {
- ObservableList<Card> cards;
+ List<Card> cards;
diff --git a/sky/engine/core/dom/ContainerNode.cpp b/sky/engine/core/dom/ContainerNode.cpp
index 97f3708..add9acc 100644
--- a/sky/engine/core/dom/ContainerNode.cpp
+++ b/sky/engine/core/dom/ContainerNode.cpp
@@ -921,6 +921,60 @@ PassRefPtr<Node> ContainerNode::prependChild(PassRefPtr<Node> node, ExceptionSta
return insertBefore(node, m_firstChild, es);
}
+void ContainerNode::appendSubtree(Vector<int> commands, Vector<String> data)
+{
diff --git a/sky/shell/org/domokit/sky/shell/SkyActivity.java b/sky/shell/org/domokit/sky/shell/SkyActivity.java
index b0eb9c0..431c4ef 100644
--- a/sky/shell/org/domokit/sky/shell/SkyActivity.java
+++ b/sky/shell/org/domokit/sky/shell/SkyActivity.java
@@ -7,6 +7,9 @@ package org.domokit.sky.shell;
import android.app.Activity;
import android.os.Bundle;
+import android.view.WindowManager;
+import android.view.Window;
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module assets;
interface AssetManager {
FetchAssetBundle(string asset_bundle_url, AssetBundle& bundle);
}
diff --git a/sky/sdk/example/mine_digger/lib/main.dart b/sky/sdk/example/mine_digger/lib/main.dart
index aa20563..ad2dc99 100644
--- a/sky/sdk/example/mine_digger/lib/main.dart
+++ b/sky/sdk/example/mine_digger/lib/main.dart
@@ -4,6 +4,7 @@
import 'dart:sky' as sky;
import 'dart:math';
+import 'dart:async';
diff --git a/mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl
index 39c17cc..03e5408 100644
--- a/mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl
+++ b/mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl
@@ -40,8 +40,8 @@ interface {{method|interface_response_name}} extends org.chromium.mojo.bindings.
{{flags(method.response_parameters, is_parameter)}}
{%- endmacro -%}
-{%- macro flags(has_response_parameters, is_parameter) -%}
-{%- if not has_response_parameters -%}
diff --git a/sky/packages/sky/lib/src/widgets/framework.dart b/sky/packages/sky/lib/src/widgets/framework.dart
index 858bdfe..f7e0d29 100644
--- a/sky/packages/sky/lib/src/widgets/framework.dart
+++ b/sky/packages/sky/lib/src/widgets/framework.dart
@@ -522,8 +522,7 @@ abstract class Widget {
bool _canSync(Widget a, Widget b) {
return a.runtimeType == b.runtimeType &&
- a.key == b.key &&
- (a._generation == 0 || b._generation == 0);
import 'package:sky/widgets.dart';
class Inside extends StatefulComponent {
void syncConstructorArguments(Inside source) {
}
Widget build() {
return new Listener(
onPointerDown: _handlePointerDown,
child: new Container(
diff --git a/sky/packages/sky/lib/src/widgets/material.dart b/sky/packages/sky/lib/src/widgets/material.dart
index 9ab80c2..0dbe300 100644
--- a/sky/packages/sky/lib/src/widgets/material.dart
+++ b/sky/packages/sky/lib/src/widgets/material.dart
@@ -55,13 +55,13 @@ class Material extends Component {
style: Theme.of(this).text.body1,
child: contents
);
- if (edges[type] != null) {
- contents = new ClipRRect(
diff --git a/sky/unit/test/fn3/stateful_component_test.dart b/sky/unit/test/fn3/stateful_component_test.dart
index 3b65e4d..9f6e431 100644
--- a/sky/unit/test/fn3/stateful_component_test.dart
+++ b/sky/unit/test/fn3/stateful_component_test.dart
@@ -13,9 +13,7 @@ class TestComponentConfig extends ComponentConfiguration {
TestComponentState createState() => new TestComponentState();
}
-class TestComponentState extends ComponentState {
- TestComponentConfig get config => super.config;