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

Unified Diff: Source/modules/filesystem/InspectorFileSystemAgent.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
Index: Source/modules/filesystem/InspectorFileSystemAgent.cpp
diff --git a/Source/modules/filesystem/InspectorFileSystemAgent.cpp b/Source/modules/filesystem/InspectorFileSystemAgent.cpp
index c692d796c191dde5bc82b49872aa627b7cef7a32..f297169b65c528f80f8f30d035e8b0a430d1e094 100644
--- a/Source/modules/filesystem/InspectorFileSystemAgent.cpp
+++ b/Source/modules/filesystem/InspectorFileSystemAgent.cpp
@@ -131,7 +131,7 @@ private:
bool didGetEntry(Entry*);
- void reportResult(FileError::ErrorCode errorCode, PassRefPtr<TypeBuilder::FileSystem::Entry> entry = 0)
+ void reportResult(FileError::ErrorCode errorCode, PassRefPtr<TypeBuilder::FileSystem::Entry> entry = nullptr)
{
m_requestCallback->sendSuccess(static_cast<int>(errorCode), entry);
}
@@ -202,7 +202,7 @@ private:
bool didGetEntry(Entry*);
bool didReadDirectoryEntries(const EntryVector&);
- void reportResult(FileError::ErrorCode errorCode, PassRefPtr<Array<TypeBuilder::FileSystem::Entry> > entries = 0)
+ void reportResult(FileError::ErrorCode errorCode, PassRefPtr<Array<TypeBuilder::FileSystem::Entry> > entries = nullptr)
{
m_requestCallback->sendSuccess(static_cast<int>(errorCode), entries);
}
@@ -323,7 +323,7 @@ private:
bool didGetEntry(Entry*);
bool didGetMetadata(Metadata*);
- void reportResult(FileError::ErrorCode errorCode, PassRefPtr<TypeBuilder::FileSystem::Metadata> metadata = 0)
+ void reportResult(FileError::ErrorCode errorCode, PassRefPtr<TypeBuilder::FileSystem::Metadata> metadata = nullptr)
{
m_requestCallback->sendSuccess(static_cast<int>(errorCode), metadata);
}
« no previous file with comments | « Source/modules/filesystem/DataTransferItemFileSystem.cpp ('k') | Source/modules/filesystem/SyncCallbackHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698