Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(940)

Unified Diff: Source/core/fileapi/FileReader.cpp

Issue 57483002: Implement File constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: isOnFilesystem() -> hasBackingFile() Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/fileapi/FileReader.cpp
diff --git a/Source/core/fileapi/FileReader.cpp b/Source/core/fileapi/FileReader.cpp
index 060c406694e39b219eea67eacc1cb6f119dfeb13..f2c3860bc28fb69a8a855fdba905c10ac7b72f20 100644
--- a/Source/core/fileapi/FileReader.cpp
+++ b/Source/core/fileapi/FileReader.cpp
@@ -53,7 +53,7 @@ const CString utf8BlobUUID(Blob* blob)
const CString utf8FilePath(Blob* blob)
{
- return blob->isFile() ? toFile(blob)->path().utf8() : "";
+ return blob->hasBackingFile() ? toFile(blob)->path().utf8() : "";
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698