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

Unified Diff: cc/resources/task_graph_runner.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/task_graph_runner.cc
diff --git a/cc/resources/task_graph_runner.cc b/cc/resources/task_graph_runner.cc
index bcbc0dd351c03bbd15153323dcf53b68bca469e2..32bb325616e18b938636afb0c51dfcc55a4fca3d 100644
--- a/cc/resources/task_graph_runner.cc
+++ b/cc/resources/task_graph_runner.cc
@@ -20,7 +20,7 @@ class DependentIterator {
: graph_(graph),
task_(task),
current_index_(static_cast<size_t>(-1)),
- current_node_(NULL) {
+ current_node_(nullptr) {
++(*this);
}

Powered by Google App Engine
This is Rietveld 408576698