blob: 72f10a73de6f20fedf38bb9292f3ed8d8051b546 [file] [log] [blame]
// Copyright 2018 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.
#include "base/test/test_discardable_memory_allocator.h"
namespace {
class Environment {
base::TestDiscardableMemoryAllocator test_memory_allocator_;
public:
Environment() {
base::DiscardableMemoryAllocator::SetInstance(&test_memory_allocator_);
}
};
static Environment env;
}; // namespace