diff --git a/lib/web_ui/dev/chrome_installer.dart b/lib/web_ui/dev/chrome_installer.dart index e8dda99b8d152..a044ba462f975 100644 --- a/lib/web_ui/dev/chrome_installer.dart +++ b/lib/web_ui/dev/chrome_installer.dart @@ -218,7 +218,7 @@ class ChromeInstaller { // version directory. However, the zip file contains a top-level directory // named e.g. 'chrome-linux'. We need to copy the files out of that // directory and into the version directory. - final io.Directory tmpDir = await io.Directory.systemTemp.createTemp(); + final io.Directory tmpDir = await chromeInstallationDir.createTemp(); final io.Directory unzipDir = tmpDir; final io.ProcessResult unzipResult = await io.Process.run('unzip', [