| Index: sky/engine/core/script/dart_loader.h
|
| diff --git a/sky/engine/core/script/dart_loader.h b/sky/engine/core/script/dart_loader.h
|
| index 75b3ab495c1dfb4c9007565556ab388a1330dcbb..b89832ad03f7b6797cabcd81d637520b566bbd7a 100644
|
| --- a/sky/engine/core/script/dart_loader.h
|
| +++ b/sky/engine/core/script/dart_loader.h
|
| @@ -25,9 +25,11 @@ class DartLoader {
|
| explicit DartLoader(DartState* dart_state);
|
| ~DartLoader();
|
|
|
| - Dart_Handle HandleLibraryTag(Dart_LibraryTag tag,
|
| - Dart_Handle library,
|
| - Dart_Handle url);
|
| + // TODO(dart): This can be called both on the main thread from application isolates
|
| + // or from the handle watcher isolate thread.
|
| + static Dart_Handle HandleLibraryTag(Dart_LibraryTag tag,
|
| + Dart_Handle library,
|
| + Dart_Handle url);
|
|
|
| void WaitForDependencies(const HashSet<DartDependency*>& dependencies,
|
| const base::Closure& callback);
|
|
|