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

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

Issue 389193002: Fix condition of FileReader::hasPendingActivity (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add layout tests Created 6 years, 5 months 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
« no previous file with comments | « LayoutTests/fast/files/file-reader-abort-gc-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/FileReader.cpp
diff --git a/Source/core/fileapi/FileReader.cpp b/Source/core/fileapi/FileReader.cpp
index 81ed2b5dfe340eac67907200e3338d86b56a0790..5526aed13723904eead68dd04b70b7e9e8a58c7b 100644
--- a/Source/core/fileapi/FileReader.cpp
+++ b/Source/core/fileapi/FileReader.cpp
@@ -166,7 +166,7 @@ void FileReader::stop()
bool FileReader::hasPendingActivity() const
{
- return m_loadingState == LoadingStateLoading || m_loadingState == LoadingStatePending;
+ return m_state == LOADING;
}
void FileReader::readAsArrayBuffer(Blob* blob, ExceptionState& exceptionState)
« no previous file with comments | « LayoutTests/fast/files/file-reader-abort-gc-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698