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

Unified Diff: cc/test/pixel_test_output_surface.cc

Issue 2102203003: Color: Plumb color profile from ui::Compositor to cc::DirectRenderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on top of s/ColorProfile/ColorSpace/ Created 4 years, 6 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 | « cc/test/pixel_test_output_surface.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test_output_surface.cc
diff --git a/cc/test/pixel_test_output_surface.cc b/cc/test/pixel_test_output_surface.cc
index 909eda708196ffa8a8d29df6aab8876fbe3850f3..e892c51f6c5048c0d2a7fbef809a4ff8c9a3deef 100644
--- a/cc/test/pixel_test_output_surface.cc
+++ b/cc/test/pixel_test_output_surface.cc
@@ -41,10 +41,11 @@ PixelTestOutputSurface::~PixelTestOutputSurface() {}
void PixelTestOutputSurface::Reshape(const gfx::Size& size,
float scale_factor,
+ const gfx::ColorSpace& color_space,
bool has_alpha) {
gfx::Size expanded_size(size.width() + surface_expansion_size_.width(),
size.height() + surface_expansion_size_.height());
- OutputSurface::Reshape(expanded_size, scale_factor, has_alpha);
+ OutputSurface::Reshape(expanded_size, scale_factor, color_space, has_alpha);
}
bool PixelTestOutputSurface::HasExternalStencilTest() const {
« no previous file with comments | « cc/test/pixel_test_output_surface.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698