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

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

Issue 2855633002: Fix darkened pixels when rendering using GPU (Closed)
Patch Set: 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 439149c7c9464f16e1d3547836c8cdfde78c5e27..e177ae7eda7694b4771c503a4711e0817ebae2d0 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
@@ -499,8 +499,7 @@ void ImageBuffer::PutByteArray(Multiply multiplied,
surface_->ColorSpace());
} 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