diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php
index fad081a74..c49dc1971 100644
--- a/forms/HtmlEditorField.php
+++ b/forms/HtmlEditorField.php
@@ -317,7 +317,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
new GridFieldDeleteAction(),
new GridFieldDetailForm()
);
- $fileField = new GridField('Files', false, null, $fileFieldConfig);
+ $fileField = GridField::create('Files', false, null, $fileFieldConfig);
$fileField->setList($this->getFiles($parentID));
$fileField->setAttribute('data-selectable', true);
$fileField->setAttribute('data-multiselect', true);