Skip to content

Commit

Permalink
Update callsites to use WIN_-prefixed base::File flags.
Browse files Browse the repository at this point in the history
The flags have been renamed to make it clear that they only
apply to Windows (see associated bug).

If you're reviewing this CL, please verify your code's usage
of the flag to ensure that the behavior is as intended. Thanks!

This CL was uploaded by git cl split.

R=wfh@chromium.org

Bug: 1244149
Change-Id: Ib1ee3a3a3355fc0245b056c1df5d49959fea351b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3313446
Auto-Submit: Alexei Svitkine <asvitkine@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#947664}
  • Loading branch information
asvitkine-chromium authored and Chromium LUCI CQ committed Dec 2, 2021
1 parent 657b804 commit 126557a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion courgette/memory_allocator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ base::File CreateTempFile() {

int flags = base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ |
base::File::FLAG_WRITE | base::File::FLAG_DELETE_ON_CLOSE |
base::File::FLAG_TEMPORARY;
base::File::FLAG_WIN_TEMPORARY;
return base::File(path, flags);
}

Expand Down

0 comments on commit 126557a

Please sign in to comment.