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:
vegorov 2015-02-16 23:55:33 -08:00 committed by Commit bot
parent b82a49e6fb
commit 305c73477c

View File

@ -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_++;