diff options
author | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-31 05:04:18 +0000 |
---|---|---|
committer | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-31 05:04:18 +0000 |
commit | 6c6c2cc241fee48dbe0593a76f66837cbf4bc349 (patch) | |
tree | 34ab97f362baff5d788867d0832705eeb07a7b2d /printing | |
parent | 1321288e6c08a26498f57ef43f27778e0cb15282 (diff) | |
download | chromium_src-6c6c2cc241fee48dbe0593a76f66837cbf4bc349.zip chromium_src-6c6c2cc241fee48dbe0593a76f66837cbf4bc349.tar.gz chromium_src-6c6c2cc241fee48dbe0593a76f66837cbf4bc349.tar.bz2 |
Base: Add a handle verifier to ScopedHandle.
This provides basic tracking of handles for XP.
BUG=127931
TEST=none
TBR=abodenha, wez
Review URL: https://chromiumcodereview.appspot.com/10453082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/backend/win_helper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/printing/backend/win_helper.h b/printing/backend/win_helper.h index 87cae3c..abfe66c 100644 --- a/printing/backend/win_helper.h +++ b/printing/backend/win_helper.h @@ -42,7 +42,8 @@ class PrinterHandleTraits { DISALLOW_IMPLICIT_CONSTRUCTORS(PrinterHandleTraits); }; -typedef base::win::GenericScopedHandle<PrinterHandleTraits> ScopedPrinterHandle; +typedef base::win::GenericScopedHandle< + PrinterHandleTraits, base::win::DummyVerifierTraits> ScopedPrinterHandle; // Wrapper class to wrap the XPS APIs (PTxxx APIs). This is needed because these |