Index: cc/surfaces/surface_aggregator.cc |
diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc |
index 679d7516b621030e8f5156d72b8df9ce7adc22a2..35107e8363adf32ffef983cc32801b5e4d481163 100644 |
--- a/cc/surfaces/surface_aggregator.cc |
+++ b/cc/surfaces/surface_aggregator.cc |
@@ -355,7 +355,7 @@ scoped_ptr<CompositorFrame> SurfaceAggregator::Aggregate(SurfaceId surface_id) { |
contained_surfaces_[surface_id] = surface->frame_index(); |
const CompositorFrame* root_surface_frame = surface->GetEligibleFrame(); |
if (!root_surface_frame) |
- return scoped_ptr<CompositorFrame>(); |
+ return nullptr; |
TRACE_EVENT0("cc", "SurfaceAggregator::Aggregate"); |
scoped_ptr<CompositorFrame> frame(new CompositorFrame); |