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

Unified Diff: Source/platform/SharedBuffer.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/PODRedBlackTree.h ('k') | Source/platform/animation/AnimationValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/SharedBuffer.cpp
diff --git a/Source/platform/SharedBuffer.cpp b/Source/platform/SharedBuffer.cpp
index de19773a840dc51de693db5149ececf24b8b1c26..2aafd62d972131b0c44220eb7ab0c17dee06e2a6 100644
--- a/Source/platform/SharedBuffer.cpp
+++ b/Source/platform/SharedBuffer.cpp
@@ -431,7 +431,7 @@ PassRefPtr<ArrayBuffer> SharedBuffer::getAsArrayBuffer() const
if (position != arrayBuffer->byteLength()) {
ASSERT_NOT_REACHED();
// Don't return the incomplete ArrayBuffer.
- return 0;
+ return nullptr;
}
return arrayBuffer;
@@ -451,7 +451,7 @@ PassRefPtr<SkData> SharedBuffer::getAsSkData() const
if (position != bufferLength) {
ASSERT_NOT_REACHED();
// Don't return the incomplete SkData.
- return 0;
+ return nullptr;
}
return adoptRef(SkData::NewFromMalloc(buffer, bufferLength));
}
« no previous file with comments | « Source/platform/PODRedBlackTree.h ('k') | Source/platform/animation/AnimationValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698