Index: webkit/child/webkitplatformsupport_child_impl.cc |
diff --git a/webkit/child/webkitplatformsupport_child_impl.cc b/webkit/child/webkitplatformsupport_child_impl.cc |
index 849dcb7b0a8fb5ba854c02209a63a857fa4f1794..c23c404c37b4d73f8c173e2be6008908e22f6cf3 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; |
return WebDiscardableMemoryImpl::CreateLockedMemory(bytes).release(); |
} |