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

Unified Diff: Source/platform/graphics/LazyDecodingPixelRef.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/ImageSource.cpp ('k') | Source/platform/graphics/filters/FELighting.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/LazyDecodingPixelRef.cpp
diff --git a/Source/platform/graphics/LazyDecodingPixelRef.cpp b/Source/platform/graphics/LazyDecodingPixelRef.cpp
index 0ea9a8cb7ba41517db32c1a6017e38e76671a541..272d8e3bdc69c7d8a933052e3bc64a5e468f134f 100644
--- a/Source/platform/graphics/LazyDecodingPixelRef.cpp
+++ b/Source/platform/graphics/LazyDecodingPixelRef.cpp
@@ -50,7 +50,7 @@ SkData* LazyDecodingPixelRef::onRefEncodedData()
{
// If the image has been clipped or scaled, do not return the original encoded data, since
// on playback it will not be known how the clipping/scaling was done.
- RefPtr<SharedBuffer> buffer = 0;
+ RefPtr<SharedBuffer> buffer = nullptr;
bool allDataReceived = false;
m_frameGenerator->copyData(&buffer, &allDataReceived);
if (buffer && allDataReceived) {
« no previous file with comments | « Source/platform/graphics/ImageSource.cpp ('k') | Source/platform/graphics/filters/FELighting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698