De-duplicate BASE_IMPLEMENTATION define in the GN build.
[chromium-blink-merge.git] / base / memory / discardable_memory.cc
blob0e3b58a356390ba604aea22d3f692701eba09fff
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/memory/discardable_memory.h"
7 #include "base/memory/discardable_memory_shmem.h"
9 namespace base {
11 // static
12 scoped_ptr<DiscardableMemory> DiscardableMemory::CreateLockedMemory(
13 size_t size) {
14 return make_scoped_ptr(new internal::DiscardableMemoryShmem(size));
17 } // namespace base