mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix data loading in the stocks app
We can't have two copies of |embedder.dart| or |shell.dart| because they take ownership of some underlying Mojo handles. Instead of duplicating the code, this CL makes the old locations just export all the symbols from the new location. I've also done the same with fetch.dart to avoid code duplication. Finally, I've removed image_cache.dart in the old location because the only clients already live in the new world and ought to use the new location. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1179923004.
This commit is contained in:
parent
d2d11a04a1
commit
d79ef3a6c6
@ -4,7 +4,7 @@
|
||||
|
||||
import 'dart:math' as math;
|
||||
import 'dart:sky';
|
||||
import 'package:sky/framework/net/image_cache.dart' as image_cache;
|
||||
import 'package:sky/mojo/net/image_cache.dart' as image_cache;
|
||||
|
||||
double timeBase = null;
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
import 'dart:sky';
|
||||
import 'dart:math' as math;
|
||||
|
||||
import 'package:sky/framework/net/image_cache.dart' as image_cache;
|
||||
import 'package:sky/mojo/net/image_cache.dart' as image_cache;
|
||||
import 'package:sky/painting/text_style.dart';
|
||||
import 'package:sky/rendering/block.dart';
|
||||
import 'package:sky/rendering/box.dart';
|
||||
|
Loading…
Reference in New Issue
Block a user