CodeTracer should open file in binary mode to avoid line endings normalization.
Review URL: https://codereview.chromium.org/924943006 Cr-Commit-Position: refs/heads/master@{#26678}
This commit is contained in:
parent
b82a49e6fb
commit
305c73477c
@ -1561,7 +1561,7 @@ class CodeTracer FINAL : public Malloced {
|
||||
}
|
||||
|
||||
if (file_ == NULL) {
|
||||
file_ = base::OS::FOpen(filename_.start(), "a");
|
||||
file_ = base::OS::FOpen(filename_.start(), "ab");
|
||||
}
|
||||
|
||||
scope_depth_++;
|
||||
|
Loading…
Reference in New Issue
Block a user