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

Unified Diff: Source/platform/mhtml/ArchiveResource.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/platform/graphics/gpu/DrawingBuffer.cpp ('k') | Source/platform/mhtml/MHTMLArchive.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mhtml/ArchiveResource.cpp
diff --git a/Source/platform/mhtml/ArchiveResource.cpp b/Source/platform/mhtml/ArchiveResource.cpp
index e79cba255b6a626a9523b16388ac087fef8ab8d3..46b899ec3e200446e1cc1fae2bed3bffbdce4a7a 100644
--- a/Source/platform/mhtml/ArchiveResource.cpp
+++ b/Source/platform/mhtml/ArchiveResource.cpp
@@ -45,7 +45,7 @@ inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KUR
PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response)
{
if (!data)
- return 0;
+ return nullptr;
if (response.isNull()) {
unsigned dataSize = data->size();
return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName,
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | Source/platform/mhtml/MHTMLArchive.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698