Always use the canvaskit path from the web sdk. (#123915)
Always use the canvaskit path from the web sdk.
This commit is contained in:
@@ -221,9 +221,9 @@ class FlutterWebPlatform extends PlatformPlugin {
|
||||
));
|
||||
|
||||
File _canvasKitFile(String relativePath) {
|
||||
final String canvasKitPath = _artifacts!.getArtifactPath(
|
||||
Artifact.canvasKitPath,
|
||||
platform: TargetPlatform.web_javascript,
|
||||
final String canvasKitPath = _fileSystem.path.join(
|
||||
_artifacts!.getHostArtifact(HostArtifact.flutterWebSdk).path,
|
||||
'canvaskit',
|
||||
);
|
||||
final File canvasKitFile = _fileSystem.file(_fileSystem.path.join(
|
||||
canvasKitPath,
|
||||
|
||||
Reference in New Issue
Block a user