Index: Source/core/fileapi/File.h |
diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h |
index 68ed9ce5325f9d38f16823c846c0992985982b2a..fedb56a33bd3f550a70565e3cfdd536fd013627b 100644 |
--- a/Source/core/fileapi/File.h |
+++ b/Source/core/fileapi/File.h |
@@ -122,7 +122,7 @@ public: |
void appendTo(BlobData&) const override; |
const String& path() const { ASSERT(hasValidFilePath()); return m_path; } |
- const String name() const { return m_name; } |
+ const String& name() const { return m_name; } |
// Getter for the lastModified IDL attribute, |
// http://dev.w3.org/2006/webapi/FileAPI/#file-attrs |