summaryrefslogtreecommitdiffstats
path: root/base/win/scoped_hdc.h
diff options
context:
space:
mode:
authorshrikant <shrikant@chromium.org>2015-05-05 14:09:03 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-05 21:09:31 +0000
commit832ccd5cc5904f848c0eb6a41e46b1d2cb2f92cc (patch)
treed4306d306bc423fec44a932f252e73522f6f7189 /base/win/scoped_hdc.h
parentf96f43ab771a6a1b3c2ffe8fee76f7fb4a6a0691 (diff)
downloadchromium_src-832ccd5cc5904f848c0eb6a41e46b1d2cb2f92cc.zip
chromium_src-832ccd5cc5904f848c0eb6a41e46b1d2cb2f92cc.tar.gz
chromium_src-832ccd5cc5904f848c0eb6a41e46b1d2cb2f92cc.tar.bz2
Replacing VerifierTraits with DummyVerifierTraits for non-kernel handles.
Current implicit assumption for VerifierTraits when it is using ActiveVerifier seems to be that these are all one category of handles, espcially kernel handles as it is hooking up CloseHandle API. HDC/Printer Handle/Device Info handle all different from kernel handles. BUG=475872 R=cpu@chromium.org,grt@chromium.org,wfh@chromium.org,vitalybuka@chromium.org,keybuk@chromium.org, armansito@chromium.org, rpaquay@chromium.org Review URL: https://codereview.chromium.org/1121233003 Cr-Commit-Position: refs/heads/master@{#328402}
Diffstat (limited to 'base/win/scoped_hdc.h')
-rw-r--r--base/win/scoped_hdc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/win/scoped_hdc.h b/base/win/scoped_hdc.h
index 9aead96..2452067 100644
--- a/base/win/scoped_hdc.h
+++ b/base/win/scoped_hdc.h
@@ -68,7 +68,7 @@ class CreateDCTraits {
DISALLOW_IMPLICIT_CONSTRUCTORS(CreateDCTraits);
};
-typedef GenericScopedHandle<CreateDCTraits, VerifierTraits> ScopedCreateDC;
+typedef GenericScopedHandle<CreateDCTraits, DummyVerifierTraits> ScopedCreateDC;
} // namespace win
} // namespace base