Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3774)

Unified Diff: base/win/scoped_handle.cc

Issue 2047013003: Revert of Add a buildflag to use the handle verifier in a per module mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/win/BUILD.gn ('k') | base/win/scoped_handle_test_dll.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/scoped_handle.cc
diff --git a/base/win/scoped_handle.cc b/base/win/scoped_handle.cc
index 6d152aec4141be25af2f6b3d1ee70b24e9d45a64..cce16281ae41200776cafa73efbf8a59c2cb8f84 100644
--- a/base/win/scoped_handle.cc
+++ b/base/win/scoped_handle.cc
@@ -16,7 +16,6 @@
#include "base/macros.h"
#include "base/synchronization/lock_impl.h"
#include "base/threading/thread_local.h"
-#include "base/win/base_features.h"
#include "base/win/current_module.h"
extern "C" {
@@ -132,7 +131,7 @@
// static
void ActiveVerifier::InstallVerifier() {
-#if BUILDFLAG(SINGLE_MODULE_MODE_HANDLE_VERIFIER)
+#if defined(COMPONENT_BUILD)
// Component build has one Active Verifier per module.
ThreadSafeAssignOrCreateActiveVerifier(nullptr, true);
#else
« no previous file with comments | « base/win/BUILD.gn ('k') | base/win/scoped_handle_test_dll.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698