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

Unified Diff: cc/test/layer_tree_host_common_test.h

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/layer_tree_host_common_test.h
diff --git a/cc/test/layer_tree_host_common_test.h b/cc/test/layer_tree_host_common_test.h
index f5dc48ea3a34f6de29b5a9022a6a3edf94c5998c..128598e7eb6cd1ce573836766ab8b93c254c978d 100644
--- a/cc/test/layer_tree_host_common_test.h
+++ b/cc/test/layer_tree_host_common_test.h
@@ -78,7 +78,7 @@ class LayerTreeHostCommonTestBase {
template <class LayerType>
void ExecuteCalculateDrawProperties(LayerType* root_layer) {
- LayerType* page_scale_application_layer = NULL;
+ LayerType* page_scale_application_layer = nullptr;
ExecuteCalculateDrawProperties(
root_layer, 1.f, 1.f, page_scale_application_layer, false);
}
@@ -86,7 +86,7 @@ class LayerTreeHostCommonTestBase {
template <class LayerType>
void ExecuteCalculateDrawProperties(LayerType* root_layer,
float device_scale_factor) {
- LayerType* page_scale_application_layer = NULL;
+ LayerType* page_scale_application_layer = nullptr;
ExecuteCalculateDrawProperties(root_layer,
device_scale_factor,
1.f,

Powered by Google App Engine
This is Rietveld 408576698