2009-01-27 Paul Godavari <paul@chromium.org>
[WebKit-https.git] / WebCore / platform / chromium / ChromiumDataObject.cpp
index 67e9d00ec94c844b1c5cc43c50ef2df778758e66..dee456848d67d540afc6afa454461a5d57576ffe 100644 (file)
@@ -37,6 +37,7 @@ void ChromiumDataObject::clear()
 {
     url = KURL();
     urlTitle = "";
+    fileExtension = "";
     filenames.clear();
     plainText = "";
     textHtml = "";
@@ -49,6 +50,7 @@ void ChromiumDataObject::clear()
 bool ChromiumDataObject::hasData()
 {
     return !url.isEmpty()
+        || !fileExtension.isEmpty()
         || !filenames.isEmpty()
         || !plainText.isEmpty()
         || !textHtml.isEmpty()