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

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

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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 | « Source/core/fetch/Resource.cpp ('k') | Source/core/fileapi/FileReaderLoader.cpp » ('j') | 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 c94eadb93f630995f4302f736f19d287a60275d6..012d118b6a57988c1a56fbdc0da7cbf0870b2c48 100644
--- a/Source/core/fileapi/FileReader.cpp
+++ b/Source/core/fileapi/FileReader.cpp
@@ -224,7 +224,7 @@ void FileReader::readInternal(Blob* blob, FileReaderLoader::ReadType type, Excep
m_readType = type;
m_state = LOADING;
m_loadingState = LoadingStatePending;
- m_error = 0;
+ m_error = nullptr;
throttlingController()->pushReader(this);
}
@@ -365,7 +365,7 @@ ThreadSpecific<FileReader::ThrottlingController>& FileReader::throttlingControll
PassRefPtr<ArrayBuffer> FileReader::arrayBufferResult() const
{
if (!m_loader || m_error)
- return 0;
+ return nullptr;
return m_loader->arrayBufferResult();
}
« no previous file with comments | « Source/core/fetch/Resource.cpp ('k') | Source/core/fileapi/FileReaderLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698