diff options
-rw-r--r-- | base/scoped_variant_win.cc | 2 | ||||
-rw-r--r-- | base/scoped_variant_win.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/base/scoped_variant_win.cc b/base/scoped_variant_win.cc index cc66c12..5653520 100644 --- a/base/scoped_variant_win.cc +++ b/base/scoped_variant_win.cc @@ -187,7 +187,6 @@ void ScopedVariant::Set(SAFEARRAY* array) { } } -#ifndef OFFICIAL_BUILD bool ScopedVariant::IsLeakableVarType(VARTYPE vt) { bool leakable = false; switch (vt & VT_TYPEMASK) { @@ -227,4 +226,3 @@ bool ScopedVariant::IsLeakableVarType(VARTYPE vt) { return leakable; } -#endif diff --git a/base/scoped_variant_win.h b/base/scoped_variant_win.h index 3526f79..50c9ce3 100644 --- a/base/scoped_variant_win.h +++ b/base/scoped_variant_win.h @@ -118,9 +118,8 @@ class ScopedVariant { return var_; } -#ifndef OFFICIAL_BUILD + // Used as a debug check to see if we're leaking anything. static bool IsLeakableVarType(VARTYPE vt); -#endif protected: VARIANT var_; |