Index: Source/core/inspector/InspectorLayerTreeAgent.cpp |
diff --git a/Source/core/inspector/InspectorLayerTreeAgent.cpp b/Source/core/inspector/InspectorLayerTreeAgent.cpp |
index b7b1f46ea5b05936aaf2c57e2f0ee1a3b60b511d..6112511c155c9c391cb45ff38b25dfc29146aa53 100644 |
--- a/Source/core/inspector/InspectorLayerTreeAgent.cpp |
+++ b/Source/core/inspector/InspectorLayerTreeAgent.cpp |
@@ -185,7 +185,7 @@ PassRefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> > InspectorLayerTre |
{ |
RenderLayerCompositor* compositor = renderLayerCompositor(); |
if (!compositor || !compositor->inCompositingMode()) |
- return 0; |
+ return nullptr; |
LayerIdToNodeIdMap layerIdToNodeIdMap; |
RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> > layers = TypeBuilder::Array<TypeBuilder::LayerTree::Layer>::create(); |
buildLayerIdToNodeIdMap(compositor->rootRenderLayer(), layerIdToNodeIdMap); |