Commit 3aea1b2b authored by shiva.jm@samsung.com's avatar shiva.jm@samsung.com

Returning const by ref instead of const by value in File::name() api

BUG=393155

Review URL: https://codereview.chromium.org/1305463002

git-svn-id: svn://svn.chromium.org/blink/trunk@200886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent feeb665d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment