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

Unified Diff: base/memory/discardable_memory.cc

Issue 1013373002: base: Remove DiscardableMemory::CreateLockedMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win build issue Created 5 years, 9 months 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 | « base/memory/discardable_memory.h ('k') | content/child/web_discardable_memory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/discardable_memory.cc
diff --git a/base/memory/discardable_memory.cc b/base/memory/discardable_memory.cc
index a99c6f8de4be11166c862546e261fec63dd18bbe..d50f1853e197021c8e8e4c0ace7d110f78c52db3 100644
--- a/base/memory/discardable_memory.cc
+++ b/base/memory/discardable_memory.cc
@@ -4,15 +4,12 @@
#include "base/memory/discardable_memory.h"
-#include "base/memory/discardable_memory_allocator.h"
-
namespace base {
-// static
-scoped_ptr<DiscardableMemory> DiscardableMemory::CreateLockedMemory(
- size_t size) {
- return DiscardableMemoryAllocator::GetInstance()
- ->AllocateLockedDiscardableMemory(size);
+DiscardableMemory::DiscardableMemory() {
+}
+
+DiscardableMemory::~DiscardableMemory() {
}
} // namespace base
« no previous file with comments | « base/memory/discardable_memory.h ('k') | content/child/web_discardable_memory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698