Index: sandbox/win/src/restricted_token.h |
diff --git a/sandbox/win/src/restricted_token.h b/sandbox/win/src/restricted_token.h |
index 6d8e5506918d3b13767aa95d7aee260b2daa37eb..565880e7787d680b0e75880dc07713ec2a344de2 100644 |
--- a/sandbox/win/src/restricted_token.h |
+++ b/sandbox/win/src/restricted_token.h |
@@ -45,14 +45,8 @@ namespace sandbox { |
class RestrictedToken { |
public: |
// Init() has to be called before calling any other method in the class. |
- RestrictedToken() |
- : init_(false), effective_token_(NULL), |
- integrity_level_(INTEGRITY_LEVEL_LAST) { } |
- |
- ~RestrictedToken() { |
- if (effective_token_) |
- CloseHandle(effective_token_); |
- } |
+ RestrictedToken(); |
+ ~RestrictedToken(); |
// Initializes the RestrictedToken object with effective_token. |
// If effective_token is NULL, it initializes the RestrictedToken object with |