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

Unified Diff: cc/resources/single_release_callback_impl.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_impl.cc
diff --git a/cc/resources/single_release_callback_impl.cc b/cc/resources/single_release_callback_impl.cc
index 6f3c53538195dbfcb1705c89c7262c3bfeee0cf0..29f68893da3d5f56657eb0f7736221644bf736d1 100644
--- a/cc/resources/single_release_callback_impl.cc
+++ b/cc/resources/single_release_callback_impl.cc
@@ -14,7 +14,7 @@ SingleReleaseCallbackImpl::SingleReleaseCallbackImpl(
const ReleaseCallbackImpl& callback)
: has_been_run_(false), callback_(callback) {
DCHECK(!callback_.is_null())
- << "Use a NULL SingleReleaseCallbackImpl for an empty callback.";
+ << "Use a nullptr SingleReleaseCallbackImpl for an empty callback.";
danakj 2014/10/10 17:28:46 just use null
}
SingleReleaseCallbackImpl::~SingleReleaseCallbackImpl() {

Powered by Google App Engine
This is Rietveld 408576698