summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/filesystem/dom_file_system.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/filesystem/dom_file_system.cc')
-rw-r--r--chromium/third_party/blink/renderer/modules/filesystem/dom_file_system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/filesystem/dom_file_system.cc b/chromium/third_party/blink/renderer/modules/filesystem/dom_file_system.cc
index 9d079872924..edc4917e7a5 100644
--- a/chromium/third_party/blink/renderer/modules/filesystem/dom_file_system.cc
+++ b/chromium/third_party/blink/renderer/modules/filesystem/dom_file_system.cc
@@ -66,7 +66,7 @@ DOMFileSystem* DOMFileSystem::Create(ExecutionContext* context,
const String& name,
mojom::blink::FileSystemType type,
const KURL& root_url) {
- return new DOMFileSystem(context, name, type, root_url);
+ return MakeGarbageCollected<DOMFileSystem>(context, name, type, root_url);
}
DOMFileSystem* DOMFileSystem::CreateIsolatedFileSystem(