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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp

Issue 2838153003: Fix darkened pixels when rendering using GPU (Closed)
Patch Set: Removing unneeded layout-test Created 3 years, 8 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 | « content/test/gpu/gpu_tests/pixel_test_pages.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
index 99379a0a4a6627ac0dc0299563e24b3cbbd97516..0f6039a9abdb141006d77e079330c657db6e9b91 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
@@ -490,8 +490,7 @@ void ImageBuffer::PutByteArray(Multiply multiplied,
surface_->color_params().GetSkColorSpaceForSkSurfaces());
} else {
info = SkImageInfo::Make(source_rect.Width(), source_rect.Height(),
- kRGBA_8888_SkColorType, alpha_type,
- SkColorSpace::MakeSRGB());
+ kRGBA_8888_SkColorType, alpha_type);
}
surface_->WritePixels(info, src_addr, src_bytes_per_row, dest_x, dest_y);
}
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_test_pages.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698