summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/DeleteButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/DeleteButton.cpp')
-rw-r--r--WebCore/editing/DeleteButton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/editing/DeleteButton.cpp b/WebCore/editing/DeleteButton.cpp
index a5aaea2..91991cf 100644
--- a/WebCore/editing/DeleteButton.cpp
+++ b/WebCore/editing/DeleteButton.cpp
@@ -45,7 +45,7 @@ inline DeleteButton::DeleteButton(Document* document)
PassRefPtr<DeleteButton> DeleteButton::create(Document* document)
{
- return new DeleteButton(document);
+ return adoptRef(new DeleteButton(document));
}
void DeleteButton::defaultEventHandler(Event* event)