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

Unified Diff: cc/resources/resource_update.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/resource_update.cc
diff --git a/cc/resources/resource_update.cc b/cc/resources/resource_update.cc
index 2fe8fe5eebebf792e0f70b2813c1354076256884..2b1e2fc1043eec572c44ec267bd98a5ada2a84f7 100644
--- a/cc/resources/resource_update.cc
+++ b/cc/resources/resource_update.cc
@@ -23,9 +23,8 @@ ResourceUpdate ResourceUpdate::Create(PrioritizedResource* resource,
return update;
}
-ResourceUpdate::ResourceUpdate()
- : texture(NULL),
- bitmap(NULL) {}
+ResourceUpdate::ResourceUpdate() : texture(nullptr), bitmap(nullptr) {
+}
ResourceUpdate::~ResourceUpdate() {}

Powered by Google App Engine
This is Rietveld 408576698