From 8b4a5398ae8012a8f2fb3c4dea20d87e54af4d81 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Tue, 14 May 2019 11:57:09 -0700 Subject: [PATCH] Roll tonic and update #includes (flutter/engine#8950) --- DEPS | 2 +- engine/src/flutter/lib/ui/compositing/scene_builder.h | 2 +- engine/src/flutter/lib/ui/painting/canvas.h | 4 +--- engine/src/flutter/lib/ui/painting/codec.cc | 2 +- engine/src/flutter/lib/ui/painting/gradient.h | 4 +--- engine/src/flutter/lib/ui/painting/image_encoding.cc | 2 +- engine/src/flutter/lib/ui/painting/image_filter.h | 2 +- engine/src/flutter/lib/ui/painting/image_shader.h | 2 +- engine/src/flutter/lib/ui/painting/matrix.h | 2 +- engine/src/flutter/lib/ui/painting/paint.cc | 2 +- engine/src/flutter/lib/ui/painting/path.h | 3 +-- engine/src/flutter/lib/ui/painting/path_measure.h | 2 +- engine/src/flutter/lib/ui/painting/rrect.cc | 2 +- engine/src/flutter/lib/ui/painting/vertices.h | 4 +--- .../flutter/lib/ui/semantics/custom_accessibility_action.h | 3 +-- .../src/flutter/lib/ui/semantics/semantics_update_builder.h | 3 +-- engine/src/flutter/lib/ui/text/font_collection.cc | 2 +- engine/src/flutter/lib/ui/text/paragraph_builder.h | 2 +- engine/src/flutter/runtime/dart_vm.cc | 2 +- .../platform/fuchsia/dart-pkg/fuchsia/sdk_ext/fuchsia.cc | 2 +- .../shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/natives.cc | 2 +- .../flutter/shell/platform/fuchsia/dart/service_isolate.cc | 2 +- 22 files changed, 22 insertions(+), 31 deletions(-) diff --git a/DEPS b/DEPS index e507a1cd91..8b2875036e 100644 --- a/DEPS +++ b/DEPS @@ -130,7 +130,7 @@ deps = { # and not have to specific specific hashes. 'src/third_party/tonic': - Var('fuchsia_git') + '/tonic' + '@' + 'c78c7a8c3e99a1d1882533b5a6daa7926cdeeb68', + Var('fuchsia_git') + '/tonic' + '@' + 'bd27b4549199df72fcaeefd259ebc12a31c2e4ee', 'src/third_party/benchmark': Var('fuchsia_git') + '/third_party/benchmark' + '@' + '21f1eb3fe269ea43eba862bf6b699cde46587ade', diff --git a/engine/src/flutter/lib/ui/compositing/scene_builder.h b/engine/src/flutter/lib/ui/compositing/scene_builder.h index 601ca5afb2..76767d7d75 100644 --- a/engine/src/flutter/lib/ui/compositing/scene_builder.h +++ b/engine/src/flutter/lib/ui/compositing/scene_builder.h @@ -18,7 +18,7 @@ #include "flutter/lib/ui/painting/picture.h" #include "flutter/lib/ui/painting/rrect.h" #include "flutter/lib/ui/painting/shader.h" -#include "third_party/tonic/typed_data/float64_list.h" +#include "third_party/tonic/typed_data/typed_list.h" #if defined(OS_FUCHSIA) #include "flutter/lib/ui/compositing/scene_host.h" diff --git a/engine/src/flutter/lib/ui/painting/canvas.h b/engine/src/flutter/lib/ui/painting/canvas.h index 9e58a0fe08..e431da8bbf 100644 --- a/engine/src/flutter/lib/ui/painting/canvas.h +++ b/engine/src/flutter/lib/ui/painting/canvas.h @@ -14,9 +14,7 @@ #include "flutter/lib/ui/painting/vertices.h" #include "third_party/skia/include/core/SkCanvas.h" #include "third_party/skia/include/utils/SkShadowUtils.h" -#include "third_party/tonic/typed_data/float32_list.h" -#include "third_party/tonic/typed_data/float64_list.h" -#include "third_party/tonic/typed_data/int32_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace tonic { class DartLibraryNatives; diff --git a/engine/src/flutter/lib/ui/painting/codec.cc b/engine/src/flutter/lib/ui/painting/codec.cc index 1419552351..d8418bd745 100644 --- a/engine/src/flutter/lib/ui/painting/codec.cc +++ b/engine/src/flutter/lib/ui/painting/codec.cc @@ -15,7 +15,7 @@ #include "third_party/tonic/dart_library_natives.h" #include "third_party/tonic/dart_state.h" #include "third_party/tonic/logging/dart_invoke.h" -#include "third_party/tonic/typed_data/uint8_list.h" +#include "third_party/tonic/typed_data/typed_list.h" using tonic::DartInvoke; using tonic::DartPersistentValue; diff --git a/engine/src/flutter/lib/ui/painting/gradient.h b/engine/src/flutter/lib/ui/painting/gradient.h index 20501f6e8c..0a817dda0b 100644 --- a/engine/src/flutter/lib/ui/painting/gradient.h +++ b/engine/src/flutter/lib/ui/painting/gradient.h @@ -9,9 +9,7 @@ #include "flutter/lib/ui/painting/matrix.h" #include "flutter/lib/ui/painting/shader.h" #include "third_party/skia/include/effects/SkGradientShader.h" -#include "third_party/tonic/typed_data/float32_list.h" -#include "third_party/tonic/typed_data/float64_list.h" -#include "third_party/tonic/typed_data/int32_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace tonic { class DartLibraryNatives; diff --git a/engine/src/flutter/lib/ui/painting/image_encoding.cc b/engine/src/flutter/lib/ui/painting/image_encoding.cc index 5bb72936e7..a554264761 100644 --- a/engine/src/flutter/lib/ui/painting/image_encoding.cc +++ b/engine/src/flutter/lib/ui/painting/image_encoding.cc @@ -19,7 +19,7 @@ #include "third_party/skia/include/core/SkSurface.h" #include "third_party/tonic/dart_persistent_value.h" #include "third_party/tonic/logging/dart_invoke.h" -#include "third_party/tonic/typed_data/uint8_list.h" +#include "third_party/tonic/typed_data/typed_list.h" using tonic::DartInvoke; using tonic::DartPersistentValue; diff --git a/engine/src/flutter/lib/ui/painting/image_filter.h b/engine/src/flutter/lib/ui/painting/image_filter.h index 0bee25c849..f95430f2c5 100644 --- a/engine/src/flutter/lib/ui/painting/image_filter.h +++ b/engine/src/flutter/lib/ui/painting/image_filter.h @@ -9,7 +9,7 @@ #include "flutter/lib/ui/painting/image.h" #include "flutter/lib/ui/painting/picture.h" #include "third_party/skia/include/core/SkImageFilter.h" -#include "third_party/tonic/typed_data/float64_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace flutter { diff --git a/engine/src/flutter/lib/ui/painting/image_shader.h b/engine/src/flutter/lib/ui/painting/image_shader.h index 555dadc706..e57a7a5985 100644 --- a/engine/src/flutter/lib/ui/painting/image_shader.h +++ b/engine/src/flutter/lib/ui/painting/image_shader.h @@ -12,7 +12,7 @@ #include "flutter/lib/ui/painting/shader.h" #include "third_party/skia/include/core/SkMatrix.h" #include "third_party/skia/include/core/SkShader.h" -#include "third_party/tonic/typed_data/float64_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace tonic { class DartLibraryNatives; diff --git a/engine/src/flutter/lib/ui/painting/matrix.h b/engine/src/flutter/lib/ui/painting/matrix.h index e47e35917e..bda5314722 100644 --- a/engine/src/flutter/lib/ui/painting/matrix.h +++ b/engine/src/flutter/lib/ui/painting/matrix.h @@ -6,7 +6,7 @@ #define FLUTTER_LIB_UI_PAINTING_MATRIX_H_ #include "third_party/skia/include/core/SkMatrix.h" -#include "third_party/tonic/typed_data/float64_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace flutter { diff --git a/engine/src/flutter/lib/ui/painting/paint.cc b/engine/src/flutter/lib/ui/painting/paint.cc index cf5fe2cf56..d144b2b31f 100644 --- a/engine/src/flutter/lib/ui/painting/paint.cc +++ b/engine/src/flutter/lib/ui/painting/paint.cc @@ -11,7 +11,7 @@ #include "third_party/skia/include/core/SkShader.h" #include "third_party/skia/include/core/SkString.h" #include "third_party/tonic/typed_data/dart_byte_data.h" -#include "third_party/tonic/typed_data/float32_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace flutter { diff --git a/engine/src/flutter/lib/ui/painting/path.h b/engine/src/flutter/lib/ui/painting/path.h index 7605ef4bc2..c7be3c83b9 100644 --- a/engine/src/flutter/lib/ui/painting/path.h +++ b/engine/src/flutter/lib/ui/painting/path.h @@ -9,8 +9,7 @@ #include "flutter/lib/ui/painting/rrect.h" #include "third_party/skia/include/core/SkPath.h" #include "third_party/skia/include/pathops/SkPathOps.h" -#include "third_party/tonic/typed_data/float32_list.h" -#include "third_party/tonic/typed_data/float64_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace tonic { class DartLibraryNatives; diff --git a/engine/src/flutter/lib/ui/painting/path_measure.h b/engine/src/flutter/lib/ui/painting/path_measure.h index 31c824f274..f73a1b9410 100644 --- a/engine/src/flutter/lib/ui/painting/path_measure.h +++ b/engine/src/flutter/lib/ui/painting/path_measure.h @@ -11,7 +11,7 @@ #include "flutter/lib/ui/painting/path.h" #include "third_party/skia/include/core/SkContourMeasure.h" #include "third_party/skia/include/core/SkPath.h" -#include "third_party/tonic/typed_data/float64_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace tonic { class DartLibraryNatives; diff --git a/engine/src/flutter/lib/ui/painting/rrect.cc b/engine/src/flutter/lib/ui/painting/rrect.cc index 60435b51b4..9c2298cfc2 100644 --- a/engine/src/flutter/lib/ui/painting/rrect.cc +++ b/engine/src/flutter/lib/ui/painting/rrect.cc @@ -6,7 +6,7 @@ #include "flutter/fml/logging.h" #include "third_party/tonic/logging/dart_error.h" -#include "third_party/tonic/typed_data/float32_list.h" +#include "third_party/tonic/typed_data/typed_list.h" using namespace flutter; diff --git a/engine/src/flutter/lib/ui/painting/vertices.h b/engine/src/flutter/lib/ui/painting/vertices.h index 71e3db34f4..2e9339147e 100644 --- a/engine/src/flutter/lib/ui/painting/vertices.h +++ b/engine/src/flutter/lib/ui/painting/vertices.h @@ -7,9 +7,7 @@ #include "flutter/lib/ui/dart_wrapper.h" #include "third_party/skia/include/core/SkVertices.h" -#include "third_party/tonic/typed_data/float32_list.h" -#include "third_party/tonic/typed_data/int32_list.h" -#include "third_party/tonic/typed_data/uint16_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace tonic { class DartLibraryNatives; diff --git a/engine/src/flutter/lib/ui/semantics/custom_accessibility_action.h b/engine/src/flutter/lib/ui/semantics/custom_accessibility_action.h index a40bf8d7d1..732b30d726 100644 --- a/engine/src/flutter/lib/ui/semantics/custom_accessibility_action.h +++ b/engine/src/flutter/lib/ui/semantics/custom_accessibility_action.h @@ -7,8 +7,7 @@ #include "third_party/tonic/dart_library_natives.h" #include "third_party/tonic/dart_wrappable.h" -#include "third_party/tonic/typed_data/float64_list.h" -#include "third_party/tonic/typed_data/int32_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace flutter { diff --git a/engine/src/flutter/lib/ui/semantics/semantics_update_builder.h b/engine/src/flutter/lib/ui/semantics/semantics_update_builder.h index d1e4eca9cf..867fbef13f 100644 --- a/engine/src/flutter/lib/ui/semantics/semantics_update_builder.h +++ b/engine/src/flutter/lib/ui/semantics/semantics_update_builder.h @@ -7,8 +7,7 @@ #include "flutter/lib/ui/dart_wrapper.h" #include "flutter/lib/ui/semantics/semantics_update.h" -#include "third_party/tonic/typed_data/float64_list.h" -#include "third_party/tonic/typed_data/int32_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace flutter { diff --git a/engine/src/flutter/lib/ui/text/font_collection.cc b/engine/src/flutter/lib/ui/text/font_collection.cc index 5cb20ff1dc..4ef95709ca 100644 --- a/engine/src/flutter/lib/ui/text/font_collection.cc +++ b/engine/src/flutter/lib/ui/text/font_collection.cc @@ -19,7 +19,7 @@ #include "third_party/tonic/dart_args.h" #include "third_party/tonic/dart_library_natives.h" #include "third_party/tonic/logging/dart_invoke.h" -#include "third_party/tonic/typed_data/uint8_list.h" +#include "third_party/tonic/typed_data/typed_list.h" #include "txt/asset_font_manager.h" #include "txt/test_font_manager.h" diff --git a/engine/src/flutter/lib/ui/text/paragraph_builder.h b/engine/src/flutter/lib/ui/text/paragraph_builder.h index 195f43d989..1ea069237b 100644 --- a/engine/src/flutter/lib/ui/text/paragraph_builder.h +++ b/engine/src/flutter/lib/ui/text/paragraph_builder.h @@ -10,7 +10,7 @@ #include "flutter/lib/ui/painting/paint.h" #include "flutter/lib/ui/text/paragraph.h" #include "flutter/third_party/txt/src/txt/paragraph_builder.h" -#include "third_party/tonic/typed_data/int32_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace tonic { class DartLibraryNatives; diff --git a/engine/src/flutter/runtime/dart_vm.cc b/engine/src/flutter/runtime/dart_vm.cc index d1d19920d7..134065a676 100644 --- a/engine/src/flutter/runtime/dart_vm.cc +++ b/engine/src/flutter/runtime/dart_vm.cc @@ -32,7 +32,7 @@ #include "third_party/tonic/file_loader/file_loader.h" #include "third_party/tonic/logging/dart_error.h" #include "third_party/tonic/scopes/dart_api_scope.h" -#include "third_party/tonic/typed_data/uint8_list.h" +#include "third_party/tonic/typed_data/typed_list.h" namespace dart { namespace observatory { diff --git a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/fuchsia/sdk_ext/fuchsia.cc b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/fuchsia/sdk_ext/fuchsia.cc index ea6c4cb382..72939661a1 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/fuchsia/sdk_ext/fuchsia.cc +++ b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/fuchsia/sdk_ext/fuchsia.cc @@ -23,7 +23,7 @@ #include "third_party/tonic/dart_library_natives.h" #include "third_party/tonic/dart_state.h" #include "third_party/tonic/logging/dart_invoke.h" -#include "third_party/tonic/typed_data/uint8_list.h" +#include "third_party/tonic/typed_data/typed_list.h" using tonic::ToDart; diff --git a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/natives.cc b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/natives.cc index 591bf6c352..30c18051b9 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/natives.cc +++ b/engine/src/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/natives.cc @@ -22,7 +22,7 @@ #include "third_party/tonic/dart_library_natives.h" #include "third_party/tonic/dart_state.h" #include "third_party/tonic/logging/dart_invoke.h" -#include "third_party/tonic/typed_data/uint8_list.h" +#include "third_party/tonic/typed_data/typed_list.h" using tonic::ToDart; diff --git a/engine/src/flutter/shell/platform/fuchsia/dart/service_isolate.cc b/engine/src/flutter/shell/platform/fuchsia/dart/service_isolate.cc index 942c32c90e..2e6eda2659 100644 --- a/engine/src/flutter/shell/platform/fuchsia/dart/service_isolate.cc +++ b/engine/src/flutter/shell/platform/fuchsia/dart/service_isolate.cc @@ -10,7 +10,7 @@ #include "third_party/tonic/dart_library_natives.h" #include "third_party/tonic/dart_microtask_queue.h" #include "third_party/tonic/dart_state.h" -#include "third_party/tonic/typed_data/uint8_list.h" +#include "third_party/tonic/typed_data/typed_list.h" #include "builtin_libraries.h" #include "dart_component_controller.h"