summaryrefslogtreecommitdiffstats
path: root/WebCore/html/File.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/File.h')
-rw-r--r--WebCore/html/File.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/WebCore/html/File.h b/WebCore/html/File.h
index 065dd86..582db28 100644
--- a/WebCore/html/File.h
+++ b/WebCore/html/File.h
@@ -41,18 +41,14 @@ public:
virtual bool isFile() const { return true; }
- const String& name() const { return m_name; }
- const String& type() const { return m_type; }
+ const String& name() const;
// FIXME: obsolete attributes. To be removed.
- const String& fileName() const { return m_name; }
+ const String& fileName() const { return name(); }
unsigned long long fileSize() const { return size(); }
private:
File(const String& path);
-
- String m_name;
- String m_type;
};
} // namespace WebCore