summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorshrikant <shrikant@chromium.org>2015-04-21 12:39:02 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-21 19:40:30 +0000
commit8d9201fbdbdced060982ec96b51c93d6347b8a5c (patch)
tree35dfedb2f03531abffa25b5040829ecf03f4c02c /base
parentb223da45f0ab220ad0808f8522fe6c2dd2615dc0 (diff)
downloadchromium_src-8d9201fbdbdced060982ec96b51c93d6347b8a5c.zip
chromium_src-8d9201fbdbdced060982ec96b51c93d6347b8a5c.tar.gz
chromium_src-8d9201fbdbdced060982ec96b51c93d6347b8a5c.tar.bz2
Disabling handle verifier till we figure out AppContainer/DuplicateHandle errors.
When we launch renderer using AppContainer sometimes DuplicateFrom (DuplicateHandle) is failing in TargetProcess::Create(). As this tracker is part of DuplicateFrom, it may be masking actual error code returned by DuplicateHandle(). BUG=467920, 472362 R=cpu@chromium.org Review URL: https://codereview.chromium.org/1095163004 Cr-Commit-Position: refs/heads/master@{#326099}
Diffstat (limited to 'base')
-rw-r--r--base/win/scoped_handle.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/win/scoped_handle.cc b/base/win/scoped_handle.cc
index 2ebef32..33a8aa5 100644
--- a/base/win/scoped_handle.cc
+++ b/base/win/scoped_handle.cc
@@ -132,6 +132,10 @@ void ActiveVerifier::InstallVerifier() {
// This lock only protects against races in this module, which is fine.
AutoNativeLock lock(g_lock.Get());
g_active_verifier = verifier ? verifier : new ActiveVerifier(true);
+
+ // TODO(shrikant): Enable handle verifier after figuring out
+ // AppContainer/DuplicateHandle error.
+ g_active_verifier->Disable();
#endif
}