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

Unified Diff: Source/platform/graphics/DecodingImageGenerator.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/Canvas2DLayerBridge.cpp ('k') | Source/platform/graphics/FrameData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/DecodingImageGenerator.cpp
diff --git a/Source/platform/graphics/DecodingImageGenerator.cpp b/Source/platform/graphics/DecodingImageGenerator.cpp
index 55ff319432f8d53793d1b5dc8de31287400f3c24..8acd6e55f9e9e838bbeb729a9a8065d130a18a22 100644
--- a/Source/platform/graphics/DecodingImageGenerator.cpp
+++ b/Source/platform/graphics/DecodingImageGenerator.cpp
@@ -52,7 +52,7 @@ SkData* DecodingImageGenerator::refEncodedData()
// FIXME: 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/Canvas2DLayerBridge.cpp ('k') | Source/platform/graphics/FrameData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698