Index: skia/ext/SkDiscardableMemory_chrome.cc |
diff --git a/skia/ext/SkDiscardableMemory_chrome.cc b/skia/ext/SkDiscardableMemory_chrome.cc |
index 6639a5ac54ddf3ab77fae237f87e06513ade4c3e..886c9950b81b2d48b3a761f1fb2f9a99febd5be1 100644 |
--- a/skia/ext/SkDiscardableMemory_chrome.cc |
+++ b/skia/ext/SkDiscardableMemory_chrome.cc |
@@ -34,8 +34,6 @@ SkDiscardableMemoryChrome::SkDiscardableMemoryChrome( |
} |
SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) { |
- if (!base::DiscardableMemory::Supported()) |
- return NULL; |
scoped_ptr<base::DiscardableMemory> discardable( |
base::DiscardableMemory::CreateLockedMemory(bytes)); |
if (!discardable) |