Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3117)

Unified Diff: base/win/scoped_variant_unittest.cc

Issue 8890067: Remove #ifdef OFFICIAL_BUILD from scoped variant unittest, as the code is now always compiled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/scoped_variant_unittest.cc
diff --git a/base/win/scoped_variant_unittest.cc b/base/win/scoped_variant_unittest.cc
index 2cd5be14e7d0be5f5b2f3dcad20424b38508b1a6..00b9903c6e1550d57119e41c6451bace2fe81c1f 100644
--- a/base/win/scoped_variant_unittest.cc
+++ b/base/win/scoped_variant_unittest.cc
@@ -251,9 +251,7 @@ TEST(ScopedVariantTest, ScopedVariant) {
ASSERT_TRUE(sa != NULL);
var.Set(sa);
-#ifndef OFFICIAL_BUILD
EXPECT_TRUE(ScopedVariant::IsLeakableVarType(var.type()));
-#endif
EXPECT_EQ(VT_ARRAY | VT_UI1, var.type());
EXPECT_EQ(sa, V_ARRAY(&var));
// The array is destroyed in the destructor of var.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698