Index: content/worker/worker_webkitplatformsupport_impl.cc |
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc |
index b81990d9815192c6d998051c9b0e83d943c9794e..f6a9a20043ad523fce91a1d87cb4eb132e18914d 100644 |
--- a/content/worker/worker_webkitplatformsupport_impl.cc |
+++ b/content/worker/worker_webkitplatformsupport_impl.cc |
@@ -89,13 +89,13 @@ WebMimeRegistry* WorkerWebKitPlatformSupportImpl::mimeRegistry() { |
} |
WebFileSystem* WorkerWebKitPlatformSupportImpl::fileSystem() { |
- if (!web_file_system_.get()) |
+ if (!web_file_system_) |
web_file_system_.reset(new WebFileSystemImpl()); |
return web_file_system_.get(); |
} |
WebFileUtilities* WorkerWebKitPlatformSupportImpl::fileUtilities() { |
- if (!file_utilities_.get()) { |
+ if (!file_utilities_) { |
file_utilities_.reset(new FileUtilities(thread_safe_sender_)); |
file_utilities_->set_sandbox_enabled(sandboxEnabled()); |
} |
@@ -195,7 +195,7 @@ long long WorkerWebKitPlatformSupportImpl::databaseGetSpaceAvailableForOrigin( |
} |
WebKit::WebIDBFactory* WorkerWebKitPlatformSupportImpl::idbFactory() { |
- if (!web_idb_factory_.get()) |
+ if (!web_idb_factory_) |
web_idb_factory_.reset(new RendererWebIDBFactoryImpl()); |
return web_idb_factory_.get(); |
} |
@@ -282,7 +282,7 @@ WebString WorkerWebKitPlatformSupportImpl::preferredExtensionForMIMEType( |
} |
WebBlobRegistry* WorkerWebKitPlatformSupportImpl::blobRegistry() { |
- if (!blob_registry_.get() && thread_safe_sender_.get()) |
+ if (!blob_registry_.get() && thread_safe_sender_) |
blob_registry_.reset(new WebBlobRegistryImpl(thread_safe_sender_)); |
return blob_registry_.get(); |
} |