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

Unified Diff: cc/base/math_util.cc

Issue 632613002: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/base/latency_info_swap_promise_monitor.cc ('k') | cc/base/scoped_ptr_vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/math_util.cc
diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc
index 7ed0c9a8b712e75931bc3420aec581da2e5b66c2..3b7955992c668e99b1e0348102789138feec5b5f 100644
--- a/cc/base/math_util.cc
+++ b/cc/base/math_util.cc
@@ -706,7 +706,7 @@ scoped_ptr<base::Value> MathUtil::AsValue(const gfx::Rect& r) {
}
bool MathUtil::FromValue(const base::Value* raw_value, gfx::Rect* out_rect) {
- const base::ListValue* value = NULL;
+ const base::ListValue* value = nullptr;
if (!raw_value->GetAsList(&value))
return false;
« no previous file with comments | « cc/base/latency_info_swap_promise_monitor.cc ('k') | cc/base/scoped_ptr_vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698