Index: cc/raster/gpu_raster_buffer_provider.cc |
diff --git a/cc/raster/gpu_raster_buffer_provider.cc b/cc/raster/gpu_raster_buffer_provider.cc |
index adeddbd718b01add7e3261e62059ba7a6f645fd2..6c1d7b7ed8feb8d0f2a991aaa0bfe54c0f8a012c 100644 |
--- a/cc/raster/gpu_raster_buffer_provider.cc |
+++ b/cc/raster/gpu_raster_buffer_provider.cc |
@@ -59,9 +59,8 @@ static sk_sp<SkPicture> PlaybackToPicture( |
// Play back raster_source into temp SkPicture. |
SkPictureRecorder recorder; |
- const int flags = SkPictureRecorder::kComputeSaveLayerInfo_RecordFlag; |
- sk_sp<SkCanvas> canvas = sk_ref_sp(recorder.beginRecording( |
- resource_size.width(), resource_size.height(), NULL, flags)); |
+ sk_sp<SkCanvas> canvas = sk_ref_sp( |
+ recorder.beginRecording(resource_size.width(), resource_size.height())); |
canvas->save(); |
raster_source->PlaybackToCanvas(canvas.get(), raster_full_rect, playback_rect, |
scale, playback_settings); |