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

Unified Diff: ui/gfx/mojo/icc_profile_struct_traits.cc

Issue 2502703002: Add more robust gfx::ColorSpace<->gfx::ICCProfile conversion (Closed)
Patch Set: Created 4 years, 1 month 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 | « ui/gfx/mojo/icc_profile_struct_traits.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/icc_profile_struct_traits.cc
diff --git a/ui/gfx/mojo/icc_profile_struct_traits.cc b/ui/gfx/mojo/icc_profile_struct_traits.cc
index eec4aadc2e2da075b4e290775a0a42cfb4067f6e..e28af112e99d724d000ea2aa15f23a5688ce5b03 100644
--- a/ui/gfx/mojo/icc_profile_struct_traits.cc
+++ b/ui/gfx/mojo/icc_profile_struct_traits.cc
@@ -14,7 +14,8 @@ using Traits = StructTraits<gfx::mojom::ICCProfileDataView, gfx::ICCProfile>;
// static
bool Traits::Read(gfx::mojom::ICCProfileDataView data, gfx::ICCProfile* out) {
- out->valid_ = data.valid();
+ // out->type_ = data.type();
+ // out->color_space_ = data.color_space();
ccameron 2016/11/14 19:37:23 I'll need these two entries to be communicated as
out->id_ = data.id();
mojo::StringDataView view;
« no previous file with comments | « ui/gfx/mojo/icc_profile_struct_traits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698