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

Commit 7e56823

Browse files
authored
Fix windows test by not attempting to open a directory as a file. (#9745)
1 parent 6cf0d13 commit 7e56823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ui/painting/image_decoder_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class TestIOManager final : public IOManager {
7575

7676
static sk_sp<SkData> OpenFixtureAsSkData(const char* name) {
7777
auto fixtures_directory =
78-
fml::OpenFile(GetFixturesPath(), false, fml::FilePermission::kRead);
78+
fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead);
7979
if (!fixtures_directory.is_valid()) {
8080
return nullptr;
8181
}

0 commit comments

Comments
 (0)