Replace deprecated base::NonThreadSafe in chrome in favor of SequenceChecker.

https://codereview.chromium.org/2911983003
This commit is contained in:
Aleksei Kuzmin 2017-08-24 02:08:44 +03:00 committed by Cheng Zhao
parent 75b41102ef
commit ac8c205fd7
3 changed files with 6 additions and 2 deletions

View file

@ -196,6 +196,7 @@ ProcessSingleton::ProcessSingleton(
}
ProcessSingleton::~ProcessSingleton() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
if (lock_file_ != INVALID_HANDLE_VALUE)
::CloseHandle(lock_file_);
}