blob: 5653efdd0385e6559a63d8a62c669bcfcda42eee [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