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

Unified Diff: cc/resources/single_release_callback.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/single_release_callback.cc
diff --git a/cc/resources/single_release_callback.cc b/cc/resources/single_release_callback.cc
index 4565963a59fdb8aa7ec0db0707930b17b95a0d69..be8a518ff0bd1a5279eb7950eaf8b8ebbb5a0638 100644
--- a/cc/resources/single_release_callback.cc
+++ b/cc/resources/single_release_callback.cc
@@ -12,7 +12,7 @@ namespace cc {
SingleReleaseCallback::SingleReleaseCallback(const ReleaseCallback& callback)
: has_been_run_(false), callback_(callback) {
DCHECK(!callback_.is_null())
- << "Use a NULL SingleReleaseCallback for an empty callback.";
+ << "Use a nullptr SingleReleaseCallback for an empty callback.";
danakj 2014/10/10 17:28:46 just use null
}
SingleReleaseCallback::~SingleReleaseCallback() {

Powered by Google App Engine
This is Rietveld 408576698