Skip to content

Commit

Permalink
Fix windows test by not attempting to open a directory as a file. (#9745
Browse files Browse the repository at this point in the history
)
  • Loading branch information
chinmaygarde authored Jul 10, 2019
1 parent 6cf0d13 commit 7e56823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/painting/image_decoder_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class TestIOManager final : public IOManager {

static sk_sp<SkData> OpenFixtureAsSkData(const char* name) {
auto fixtures_directory =
fml::OpenFile(GetFixturesPath(), false, fml::FilePermission::kRead);
fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead);
if (!fixtures_directory.is_valid()) {
return nullptr;
}
Expand Down

0 comments on commit 7e56823

Please sign in to comment.