summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 22:54:35 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 22:54:35 +0000
commit639bf5a045c85c090068f33f6f3ac9c1ecb6c37d (patch)
treeb7f89f05568d00b9c9271905084b2c8592bc4683
parent4e263fcb5c725adc14863d08f9a7259f6d682cbe (diff)
downloadchromium_src-639bf5a045c85c090068f33f6f3ac9c1ecb6c37d.zip
chromium_src-639bf5a045c85c090068f33f6f3ac9c1ecb6c37d.tar.gz
chromium_src-639bf5a045c85c090068f33f6f3ac9c1ecb6c37d.tar.bz2
Revert 139885 - Enable the handle verifier.
BUG=127931 TEST=none TBR=willchan, wez, abodenha Review URL: https://chromiumcodereview.appspot.com/10441124 TBR=rvargas@google.com Review URL: https://chromiumcodereview.appspot.com/10454100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139905 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/win/scoped_handle.h2
-rw-r--r--printing/backend/win_helper.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/base/win/scoped_handle.h b/base/win/scoped_handle.h
index 29c0d1a..287ac6e 100644
--- a/base/win/scoped_handle.h
+++ b/base/win/scoped_handle.h
@@ -145,7 +145,7 @@ class BASE_EXPORT VerifierTraits {
DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits);
};
-typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle;
+typedef GenericScopedHandle<HandleTraits, DummyVerifierTraits> ScopedHandle;
} // namespace win
} // namespace base
diff --git a/printing/backend/win_helper.h b/printing/backend/win_helper.h
index 497cfdb..abfe66c 100644
--- a/printing/backend/win_helper.h
+++ b/printing/backend/win_helper.h
@@ -43,7 +43,8 @@ class PrinterHandleTraits {
};
typedef base::win::GenericScopedHandle<
- PrinterHandleTraits, base::win::VerifierTraits> ScopedPrinterHandle;
+ PrinterHandleTraits, base::win::DummyVerifierTraits> ScopedPrinterHandle;
+
// Wrapper class to wrap the XPS APIs (PTxxx APIs). This is needed because these
// APIs are not available by default on XP. We could delayload prntvpt.dll but