diff --git a/DEPS b/DEPS index 0f3273385f7..81480ad230f 100644 --- a/DEPS +++ b/DEPS @@ -31,7 +31,7 @@ vars = { # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS. # You can use //tools/dart/create_updated_flutter_deps.py to produce # updated revision list of existing dependencies. - 'dart_revision': 'eab492385c3f345cb2f44f3b702b0e30e4a9c107', + 'dart_revision': '1be785ae2ddb1754a184cd638ab719e94d86b4e9', 'dart_args_tag': '1.4.4', 'dart_async_tag': '2.0.8', @@ -73,7 +73,7 @@ vars = { 'dart_plugin_tag': 'f5b4b0e32d1406d62daccea030ba6457d14b1c47', 'dart_pool_tag': '1.3.6', 'dart_protobuf_tag': '0.9.0', - 'dart_pub_rev': '58fe996eab8d54f28f5109c407ff0ab62fbd835d', + 'dart_pub_rev': '5962908a66e814dd78f6856a4e5f792c6db65fbc', 'dart_pub_semver_tag': '1.4.2', 'dart_quiver_tag': '0.29.0+2', 'dart_resource_rev': '2.1.5', diff --git a/engine/src/flutter/lib/ui/plugins/callback_cache.cc b/engine/src/flutter/lib/ui/plugins/callback_cache.cc index a80b956a034..18c370f1176 100644 --- a/engine/src/flutter/lib/ui/plugins/callback_cache.cc +++ b/engine/src/flutter/lib/ui/plugins/callback_cache.cc @@ -169,7 +169,7 @@ Dart_Handle DartCallbackCache::LookupDartClosure( Dart_Handle closure; if (Dart_IsNull(cls_name)) { - closure = Dart_GetClosure(library, closure_name); + closure = Dart_GetField(library, closure_name); } else { Dart_Handle cls = Dart_GetClass(library, cls_name); DART_CHECK_VALID(cls); diff --git a/engine/src/flutter/runtime/dart_isolate.cc b/engine/src/flutter/runtime/dart_isolate.cc index 8f083246eae..71dfa136f45 100644 --- a/engine/src/flutter/runtime/dart_isolate.cc +++ b/engine/src/flutter/runtime/dart_isolate.cc @@ -463,8 +463,8 @@ bool DartIsolate::Run(const std::string& entrypoint_name) { tonic::DartState::Scope scope(this); - Dart_Handle entrypoint = Dart_GetClosure( - Dart_RootLibrary(), tonic::ToDart(entrypoint_name.c_str())); + Dart_Handle entrypoint = + Dart_GetField(Dart_RootLibrary(), tonic::ToDart(entrypoint_name.c_str())); if (tonic::LogIfError(entrypoint)) { return false; } @@ -506,7 +506,7 @@ bool DartIsolate::RunFromLibrary(const std::string& library_name, } Dart_Handle entrypoint = - Dart_GetClosure(library, tonic::ToDart(entrypoint_name.c_str())); + Dart_GetField(library, tonic::ToDart(entrypoint_name.c_str())); if (tonic::LogIfError(entrypoint)) { return false; }