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

Unified Diff: third_party/WebKit/public/platform/WebScreenInfo.h

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 | « third_party/WebKit/Source/platform/graphics/ColorSpaceGamut.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebScreenInfo.h
diff --git a/third_party/WebKit/public/platform/WebScreenInfo.h b/third_party/WebKit/public/platform/WebScreenInfo.h
index 857918d5ae0b89b14d57c7894b0e2da462e239ce..06ecf1eb3a8e2e308c753b9b1fa5b01eacccc080 100644
--- a/third_party/WebKit/public/platform/WebScreenInfo.h
+++ b/third_party/WebKit/public/platform/WebScreenInfo.h
@@ -34,7 +34,7 @@
#include "WebRect.h"
#include "public/platform/ShapeProperties.h"
#include "public/platform/modules/screen_orientation/WebScreenOrientationType.h"
-#include "ui/gfx/icc_profile.h"
+#include "ui/gfx/color_space.h"
namespace blink {
@@ -43,8 +43,8 @@ struct WebScreenInfo {
// pixels.
float device_scale_factor = 1.f;
- // The ICC profile of the output display.
- gfx::ICCProfile icc_profile;
+ // The color space of the output display.
+ gfx::ColorSpace color_space;
// The screen depth in bits per pixel
int depth = 0;
@@ -89,7 +89,7 @@ struct WebScreenInfo {
bool operator==(const WebScreenInfo& other) const {
return this->device_scale_factor == other.device_scale_factor &&
- this->icc_profile == other.icc_profile &&
+ this->color_space == other.color_space &&
this->depth == other.depth &&
this->depth_per_component == other.depth_per_component &&
this->is_monochrome == other.is_monochrome &&
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ColorSpaceGamut.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698