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

Unified Diff: Source/core/fileapi/FileReaderLoader.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/fileapi/FileReader.cpp ('k') | Source/core/fileapi/FileReaderSync.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/FileReaderLoader.cpp
diff --git a/Source/core/fileapi/FileReaderLoader.cpp b/Source/core/fileapi/FileReaderLoader.cpp
index 3b133e4b3bda53fe9b3a97913062dc362a290e8b..617dca714e5b7db823d338419e7eeec0a6229ae0 100644
--- a/Source/core/fileapi/FileReaderLoader.cpp
+++ b/Source/core/fileapi/FileReaderLoader.cpp
@@ -135,7 +135,7 @@ void FileReaderLoader::start(ExecutionContext* executionContext, const Stream& s
}
m_urlForReadingIsStream = true;
- startInternal(executionContext, &stream, 0);
+ startInternal(executionContext, &stream, nullptr);
}
void FileReaderLoader::cancel()
@@ -154,7 +154,7 @@ void FileReaderLoader::terminate()
void FileReaderLoader::cleanup()
{
- m_loader = 0;
+ m_loader = nullptr;
// If we get any error, we do not need to keep a buffer around.
if (m_errorCode) {
@@ -304,7 +304,7 @@ PassRefPtr<ArrayBuffer> FileReaderLoader::arrayBufferResult() const
// If the loading is not started or an error occurs, return an empty result.
if (!m_rawData || m_errorCode)
- return 0;
+ return nullptr;
return m_rawData->toArrayBuffer();
}
« no previous file with comments | « Source/core/fileapi/FileReader.cpp ('k') | Source/core/fileapi/FileReaderSync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698