RESOLVED FIXED 47563
Pass platform path (rather than virtual path) when creating File from FileEntry
https://bugs.webkit.org/show_bug.cgi?id=47563
Summary Pass platform path (rather than virtual path) when creating File from FileEntry
Kinuko Yasuda
Reported 2010-10-12 17:24:31 PDT
Pass platform path (irather than virtual path) when creating File from FileEntry.
Attachments
Patch (1.30 KB, patch)
2010-10-12 17:39 PDT, Kinuko Yasuda
no flags
Patch (1.33 KB, patch)
2010-10-12 17:45 PDT, Kinuko Yasuda
jianli: review+
Kinuko Yasuda
Comment 1 2010-10-12 17:39:51 PDT
Kinuko Yasuda
Comment 2 2010-10-12 17:45:50 PDT
Created attachment 70576 [details] Patch Sorry I sent an wrong one.
Eric U.
Comment 3 2010-10-12 17:56:31 PDT
Comment on attachment 70576 [details] Patch LGTM.
Jian Li
Comment 4 2010-10-12 18:02:49 PDT
One suggestion. Consider renaming m_fullPath in EntryBase to m_virtualPath or m_fullVirtualPath to improve reability and avoid future mistake. Or at least you can add the comment in EntryBase.h.
Kinuko Yasuda
Comment 5 2010-10-12 18:40:43 PDT
(In reply to comment #4) > One suggestion. Consider renaming m_fullPath in EntryBase to m_virtualPath or m_fullVirtualPath to improve reability and avoid future mistake. Or at least you can add the comment in EntryBase.h. Thanks, I'll make a separate patch to rename all.
Kinuko Yasuda
Comment 6 2010-10-12 18:59:44 PDT
(In reply to comment #5) > (In reply to comment #4) > > One suggestion. Consider renaming m_fullPath in EntryBase to m_virtualPath or m_fullVirtualPath to improve reability and avoid future mistake. Or at least you can add the comment in EntryBase.h. > > Thanks, I'll make a separate patch to rename all. Hmm, on the second thought m_fullPath was named after FileEntry.fullPath attribute. I'm going to put the comment to indicate it's virtual path.
Kinuko Yasuda
Comment 7 2010-10-12 19:27:04 PDT
Note You need to log in before you can comment on or make changes to this bug.