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

Commit 48fa2b6

Browse files
committed
fixes
1 parent 7db2702 commit 48fa2b6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/web_ui/dev/test_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ class BrowserManager {
10041004
final String pathToTest = p.dirname(path);
10051005

10061006
final String mapPath = p.join(
1007-
_sourceMapDirectory!.path,
1007+
_sourceMapDirectory.path,
10081008
pathToTest,
10091009
sourceMapFileName
10101010
);

lib/web_ui/lib/src/engine/canvaskit/layer.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,7 @@ class ImageFilterEngineLayer extends ContainerLayer
406406
prerollContext.mutatorsStack.pushTransform(transform);
407407
final ui.Rect childPaintBounds =
408408
prerollChildren(prerollContext, childMatrix);
409-
(_filter as CkManagedSkImageFilterConvertible)
410-
.imageFilter((SkImageFilter filter) {
409+
_filter.imageFilter((SkImageFilter filter) {
411410
paintBounds =
412411
rectFromSkIRect(filter.getOutputBounds(toSkRect(childPaintBounds)));
413412
});

lib/web_ui/test/common/fake_asset_manager.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class FakeAssetScope {
8181
return fetcher();
8282
}
8383
if (_parent != null) {
84-
return _parent!.getAssetData(assetKey);
84+
return _parent.getAssetData(assetKey);
8585
}
8686
return null;
8787
}

0 commit comments

Comments
 (0)