summaryrefslogtreecommitdiffstats
path: root/webkit/api/src/WebDragData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api/src/WebDragData.cpp')
-rw-r--r--webkit/api/src/WebDragData.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/webkit/api/src/WebDragData.cpp b/webkit/api/src/WebDragData.cpp
index 426ceea..a8210ac 100644
--- a/webkit/api/src/WebDragData.cpp
+++ b/webkit/api/src/WebDragData.cpp
@@ -53,10 +53,7 @@ void WebDragData::initialize()
void WebDragData::reset()
{
- if (m_private) {
- m_private->deref();
- m_private = 0;
- }
+ assign(0);
}
void WebDragData::assign(const WebDragData& other)