Skip to content

Commit 3e3e711

Browse files
committed
Removed explicit colorspace.
1 parent ca8776e commit 3e3e711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ui/painting/picture.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace {
2323
sk_sp<SkSurface> MakeSnapshotSurface(const SkISize& picture_size,
2424
fml::WeakPtr<GrContext> resource_context) {
2525
SkImageInfo image_info = SkImageInfo::MakeN32Premul(
26-
picture_size.width(), picture_size.height(), SkColorSpace::MakeSRGB());
26+
picture_size.width(), picture_size.height(), nullptr);
2727
if (resource_context) {
2828
return SkSurface::MakeRenderTarget(resource_context.get(), // context
2929
SkBudgeted::kNo, // budgeted

0 commit comments

Comments
 (0)