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

Unified Diff: cc/resources/picture_pile_base.cc

Issue 638353002: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr in src/… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formating. Created 6 years, 2 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: cc/resources/picture_pile_base.cc
diff --git a/cc/resources/picture_pile_base.cc b/cc/resources/picture_pile_base.cc
index d850e4150be32c6d3805a1238b641469ecae5600..511b7f154fcd836192186aac011a16ea4619d6a8 100644
--- a/cc/resources/picture_pile_base.cc
+++ b/cc/resources/picture_pile_base.cc
@@ -225,7 +225,7 @@ bool PicturePileBase::PictureInfo::Invalidate(int frame_number) {
invalidation_history_.set(0);
bool did_invalidate = !!picture_.get();
- picture_ = NULL;
+ picture_ = nullptr;
return did_invalidate;
}

Powered by Google App Engine
This is Rietveld 408576698