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

Unified Diff: content/public/common/screen_info.cc

Issue 2954793002: color: Replace more instances of ICCProfile with ColorSpace (Closed)
Patch Set: Created 3 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 | « content/public/common/screen_info.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/screen_info.cc
diff --git a/content/public/common/screen_info.cc b/content/public/common/screen_info.cc
index acd02a042b1a904d057364ffad1c727beecb963a..488e3681027573e8fa7602ff7d3ba87e37103670 100644
--- a/content/public/common/screen_info.cc
+++ b/content/public/common/screen_info.cc
@@ -12,11 +12,9 @@ ScreenInfo::~ScreenInfo() = default;
bool ScreenInfo::operator==(const ScreenInfo& other) const {
return device_scale_factor == other.device_scale_factor &&
- icc_profile == other.icc_profile &&
- depth == other.depth &&
+ color_space == other.color_space && depth == other.depth &&
depth_per_component == other.depth_per_component &&
- is_monochrome == other.is_monochrome &&
- rect == other.rect &&
+ is_monochrome == other.is_monochrome && rect == other.rect &&
available_rect == other.available_rect &&
orientation_type == other.orientation_type &&
orientation_angle == other.orientation_angle;
« no previous file with comments | « content/public/common/screen_info.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698