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

Unified Diff: cc/raster/raster_source.cc

Issue 2866173002: [WIP] cc: Use sRGB for rastering non-wide-color-gamut content
Patch Set: Created 3 years, 7 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: cc/raster/raster_source.cc
diff --git a/cc/raster/raster_source.cc b/cc/raster/raster_source.cc
index b1443e61770bb86447f10ee2f56c2b1614022127..3d428f82007fd29c2907a2d5ef3631bb174e7c04 100644
--- a/cc/raster/raster_source.cc
+++ b/cc/raster/raster_source.cc
@@ -283,6 +283,10 @@ gfx::Size RasterSource::GetSize() const {
return size_;
}
+bool RasterSource::HasNonSRGBContent() const {
+ return display_list_->HasNonSRGBContent();
+}
+
bool RasterSource::IsSolidColor() const {
return is_solid_color_;
}

Powered by Google App Engine
This is Rietveld 408576698