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

Unified Diff: ui/gfx/icc_profile_mac.mm

Issue 2203213002: ICC profile color translations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color_correction7
Patch Set: win compile fix Created 4 years, 4 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 | « ui/gfx/icc_profile.cc ('k') | ui/gfx/icc_profile_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/icc_profile_mac.mm
diff --git a/ui/gfx/icc_profile_mac.mm b/ui/gfx/icc_profile_mac.mm
index 92fe8dde12f4e3db2f10a17539c561c8bf573c49..ec51749be477c65b2c019e58d70401ab87f73940 100644
--- a/ui/gfx/icc_profile_mac.mm
+++ b/ui/gfx/icc_profile_mac.mm
@@ -24,7 +24,7 @@ ICCProfile ICCProfile::FromCGColorSpace(CGColorSpaceRef cg_color_space) {
const unsigned char* data = CFDataGetBytePtr(cf_icc_profile);
std::vector<char> vector_icc_profile;
vector_icc_profile.assign(data, data + length);
- return FromData(vector_icc_profile);
+ return FromData(vector_icc_profile.data(), vector_icc_profile.size());
}
} // namespace gfx
« no previous file with comments | « ui/gfx/icc_profile.cc ('k') | ui/gfx/icc_profile_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698