Index: content/common/sandbox_win.cc |
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc |
index ff602d09430bb82236c4b18e68c048d97b3b4527..f6d9cf258729da3ece34b36fbde8386427e94da7 100644 |
--- a/content/common/sandbox_win.cc |
+++ b/content/common/sandbox_win.cc |
@@ -366,7 +366,8 @@ bool AddGenericPolicy(sandbox::TargetPolicy* policy) { |
LOG(WARNING) << "SANITIZER_COVERAGE_DIR was not set, coverage won't work."; |
} else { |
std::wstring coverage_dir; |
- wchar_t* coverage_dir_str = WriteInto(&coverage_dir, coverage_dir_size); |
+ wchar_t* coverage_dir_str = |
+ base::WriteInto(&coverage_dir, coverage_dir_size); |
coverage_dir_size = ::GetEnvironmentVariable( |
L"SANITIZER_COVERAGE_DIR", coverage_dir_str, coverage_dir_size); |
CHECK(coverage_dir.size() == coverage_dir_size); |