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

Unified Diff: cc/raster/gpu_raster_buffer_provider.cc

Issue 2149533003: Remove use of unsupported Skia flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | skia/config/SkUserConfig.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | skia/config/SkUserConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698