Index: webkit/child/webkitplatformsupport_child_impl.cc |
diff --git a/webkit/child/webkitplatformsupport_child_impl.cc b/webkit/child/webkitplatformsupport_child_impl.cc |
index 1df9a12518946f5e4aa02fd877b45175230a1edc..00e03de5ddeca3c2cc4f7af5ff6dd38c15712159 100644 |
--- a/webkit/child/webkitplatformsupport_child_impl.cc |
+++ b/webkit/child/webkitplatformsupport_child_impl.cc |
@@ -93,8 +93,6 @@ void WebKitPlatformSupportChildImpl::didStopWorkerRunLoop( |
WebKit::WebDiscardableMemory* |
WebKitPlatformSupportChildImpl::allocateAndLockDiscardableMemory(size_t bytes) { |
- if (!base::DiscardableMemory::Supported()) |
- return NULL; |
scoped_ptr<WebDiscardableMemoryImpl> discardable( |
new WebDiscardableMemoryImpl()); |
if (discardable->InitializeAndLock(bytes)) |