This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 133e8a8
Use new dart:js_interop way to externalize/internalize objects (#53304)
The issue in [0] was fixed. So we no longer have to use conditional
imports and dart2wasm vs dart2js specific implementations.
Instead we use the new extension methods introduced due to [0], namely
`Object.toExternalReference` and `ExternalDartReference.toDartObject`.
[0] dart-lang/sdk#551831 parent d11ae15 commit 133e8a8
9 files changed
Lines changed: 13 additions & 59 deletions
File tree
- ci/licenses_golden
- lib/web_ui
- lib/src/engine
- canvaskit
- skwasm
- skwasm_impl
- skwasm_stub
- test/canvaskit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40602 | 40602 | | |
40603 | 40603 | | |
40604 | 40604 | | |
40605 | | - | |
40606 | 40605 | | |
40607 | 40606 | | |
40608 | 40607 | | |
| |||
40639 | 40638 | | |
40640 | 40639 | | |
40641 | 40640 | | |
40642 | | - | |
40643 | 40641 | | |
40644 | 40642 | | |
40645 | 40643 | | |
| |||
43484 | 43482 | | |
43485 | 43483 | | |
43486 | 43484 | | |
43487 | | - | |
43488 | 43485 | | |
43489 | 43486 | | |
43490 | 43487 | | |
| |||
43521 | 43518 | | |
43522 | 43519 | | |
43523 | 43520 | | |
43524 | | - | |
43525 | 43521 | | |
43526 | 43522 | | |
43527 | 43523 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 40 | | |
49 | 41 | | |
50 | 42 | | |
| |||
61 | 53 | | |
62 | 54 | | |
63 | 55 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 56 | | |
69 | 57 | | |
70 | 58 | | |
| |||
3674 | 3662 | | |
3675 | 3663 | | |
3676 | 3664 | | |
3677 | | - | |
| 3665 | + | |
| 3666 | + | |
3678 | 3667 | | |
3679 | 3668 | | |
3680 | | - | |
| 3669 | + | |
3681 | 3670 | | |
3682 | 3671 | | |
3683 | | - | |
| 3672 | + | |
3684 | 3673 | | |
3685 | 3674 | | |
3686 | 3675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
Lines changed: 0 additions & 16 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
Lines changed: 0 additions & 13 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
1932 | | - | |
| 1932 | + | |
1933 | 1933 | | |
1934 | 1934 | | |
1935 | 1935 | | |
| |||
0 commit comments