Commit fb0e5203 authored by jochen@chromium.org's avatar jochen@chromium.org

Remove #ifdef OFFICIAL_BUILD from scoped variant unittest, as the code is now always compiled

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8890067

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113944 0039d316-1c4b-4281-b951-d872f2087c98
parent 44bbe5e6
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment