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

Unified Diff: cc/test/fake_layer_tree_host.cc

Issue 634243003: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr [part-4] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formating fix. 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/test/fake_layer_tree_host.cc
diff --git a/cc/test/fake_layer_tree_host.cc b/cc/test/fake_layer_tree_host.cc
index 32767c824aba590615be64a177ed110fca96b400..3da2b57c977db44a13de06b1c497fce44d501f37 100644
--- a/cc/test/fake_layer_tree_host.cc
+++ b/cc/test/fake_layer_tree_host.cc
@@ -7,7 +7,7 @@
namespace cc {
FakeLayerTreeHost::FakeLayerTreeHost(FakeLayerTreeHostClient* client,
const LayerTreeSettings& settings)
- : LayerTreeHost(client, NULL, settings),
+ : LayerTreeHost(client, nullptr, settings),
client_(client),
host_impl_(settings, &proxy_, &manager_),
needs_commit_(false) {
@@ -27,7 +27,7 @@ scoped_ptr<FakeLayerTreeHost> FakeLayerTreeHost::Create(
}
FakeLayerTreeHost::~FakeLayerTreeHost() {
- client_->SetLayerTreeHost(NULL);
+ client_->SetLayerTreeHost(nullptr);
}
void FakeLayerTreeHost::SetNeedsCommit() { needs_commit_ = true; }

Powered by Google App Engine
This is Rietveld 408576698