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

Unified Diff: cc/trees/layer_tree_host_unittest_no_message_loop.cc

Issue 640203002: [C++11 Allowed Features] Declares a type-safe null pointer converting from NULL to nullptr [part-… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format 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/trees/layer_tree_host_unittest_no_message_loop.cc
diff --git a/cc/trees/layer_tree_host_unittest_no_message_loop.cc b/cc/trees/layer_tree_host_unittest_no_message_loop.cc
index fb0e2be225ffecdee4f70e0ff6ebf61fb55a5b50..d6cbaa50a93118cada04b2cad8bc05e7dc818e73 100644
--- a/cc/trees/layer_tree_host_unittest_no_message_loop.cc
+++ b/cc/trees/layer_tree_host_unittest_no_message_loop.cc
@@ -100,8 +100,8 @@ class LayerTreeHostNoMessageLoopTest
void SetupLayerTreeHost() {
LayerTreeSettings settings;
settings.single_thread_proxy_scheduler = false;
- layer_tree_host_ =
- LayerTreeHost::CreateSingleThreaded(this, this, NULL, settings, NULL);
+ layer_tree_host_ = LayerTreeHost::CreateSingleThreaded(
+ this, this, nullptr, settings, nullptr);
layer_tree_host_->SetViewportSize(size_);
layer_tree_host_->SetRootLayer(root_layer_);
}
@@ -189,12 +189,12 @@ class LayerTreeHostNoMessageLoopDelegatedLayer
CheckReturnedResource(1u);
TearDownLayerTreeHost();
- delegated_layer_ = NULL;
- frame_provider_ = NULL;
+ delegated_layer_ = nullptr;
+ frame_provider_ = nullptr;
// Resource from second frame should be returned.
CheckReturnedResource(1u);
- resource_collection_ = NULL;
+ resource_collection_ = nullptr;
}
// DelegatedFrameResourceCollectionClient overrides.

Powered by Google App Engine
This is Rietveld 408576698