Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b9f446f

Browse files
committed
Roll Fuchsia SDK to latest
This rolls to CIPD package versions: macOS SDK: pWygawI3vBzP9dYloEvKka8r1p0NpLLZzZQ-yMYI1UIC Linux SDK: L_ORUWXyDEC29pSiSyKIwGqcFMQFsV91E3h_wPbUIUkC Applies two breaking changes from the SDK: * `zx_clock_get_new()` has been eliminated and replaced with `zx_clock_get()`. * Scenic `Metrics` no longer supports operator==; instead we use `fidl::Equals()`.
1 parent 107fe82 commit b9f446f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

DEPS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ allowed_hosts = [
126126
]
127127

128128
deps = {
129-
'src': 'https://github.com/flutter/buildroot.git' + '@' + '5383f9c6ad891c28d0d2f3103864ff6ff377ceff',
129+
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'ad2256a52991dd857aea2aba3240604543ffe232',
130130

131131
# Fuchsia compatibility
132132
#
@@ -480,7 +480,7 @@ deps = {
480480
'packages': [
481481
{
482482
'package': 'fuchsia/sdk/core/mac-amd64',
483-
'version': 'Cx51FRV5TCoqQ9nfs4E2QMfYkJ1JWt7arQXhV01tr7cC'
483+
'version': 'pWygawI3vBzP9dYloEvKka8r1p0NpLLZzZQ-yMYI1UIC'
484484
}
485485
],
486486
'condition': 'host_os == "mac"',
@@ -500,7 +500,7 @@ deps = {
500500
'packages': [
501501
{
502502
'package': 'fuchsia/sdk/core/linux-amd64',
503-
'version': 'udf6w2VmM5E8PyQm5ggugW_jjiEdWs-Xl6efeLf2JdkC'
503+
'version': 'L_ORUWXyDEC29pSiSyKIwGqcFMQFsV91E3h_wPbUIUkC'
504504
}
505505
],
506506
'condition': 'host_os == "linux"',

shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/system.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ Dart_Handle System::VmoMap(fml::RefPtr<Handle> vmo) {
477477

478478
uint64_t System::ClockGet(uint32_t clock_id) {
479479
zx_time_t result = 0;
480-
zx_clock_get_new(clock_id, &result);
480+
zx_clock_get(clock_id, &result);
481481
return result;
482482
}
483483

shell/platform/fuchsia/flutter/platform_view.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ void PlatformView::OnScenicEvent(
293293
case fuchsia::ui::scenic::Event::Tag::kGfx:
294294
switch (event.gfx().Which()) {
295295
case fuchsia::ui::gfx::Event::Tag::kMetrics: {
296-
if (event.gfx().metrics().metrics != scenic_metrics_) {
296+
if (!fidl::Equals(event.gfx().metrics().metrics, scenic_metrics_)) {
297297
scenic_metrics_ = std::move(event.gfx().metrics().metrics);
298298
metrics_changed_callback_(scenic_metrics_);
299299
UpdateViewportMetrics(scenic_metrics_);

0 commit comments

Comments
 (0)