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

Unified Diff: content/browser/compositor/offscreen_browser_compositor_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
Index: content/browser/compositor/offscreen_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
index 05ba1efd449e8aee0a76314bdb459903825914dc..3b06fb0137d0ef831e53f5abb3ed81242849d4db 100644
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc
@@ -106,9 +106,11 @@ void OffscreenBrowserCompositorOutputSurface::DiscardBackbuffer() {
}
}
-void OffscreenBrowserCompositorOutputSurface::Reshape(const gfx::Size& size,
- float scale_factor,
- bool alpha) {
+void OffscreenBrowserCompositorOutputSurface::Reshape(
+ const gfx::Size& size,
+ float scale_factor,
+ const gfx::ColorSpace& color_space,
+ bool alpha) {
if (size == surface_size_)
return;

Powered by Google App Engine
This is Rietveld 408576698