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

Unified Diff: ui/gfx/icc_profile_unittest.cc

Issue 2679323005: Update callsites to new SkColorSpace API, delete legacy flag (Closed)
Patch Set: Created 3 years, 10 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/color_space.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/icc_profile_unittest.cc
diff --git a/ui/gfx/icc_profile_unittest.cc b/ui/gfx/icc_profile_unittest.cc
index 1fcba1d13be665f32ebe678125b50b9d2330d61b..55a5188ddc4328d0615fc09735ed095e9ec5aa5b 100644
--- a/ui/gfx/icc_profile_unittest.cc
+++ b/ui/gfx/icc_profile_unittest.cc
@@ -22,7 +22,7 @@ TEST(ICCProfile, Conversions) {
TEST(ICCProfile, SRGB) {
ColorSpace color_space = ColorSpace::CreateSRGB();
sk_sp<SkColorSpace> sk_color_space =
- SkColorSpace::MakeNamed(SkColorSpace::kSRGB_Named);
+ SkColorSpace::MakeSRGB();
msw 2017/02/09 16:46:44 nit: fits on line above; git cl format?
msarett1 2017/02/09 17:16:00 Done.
// These should be the same pointer, not just equal.
EXPECT_EQ(color_space.ToSkColorSpace().get(), sk_color_space.get());
« no previous file with comments | « ui/gfx/color_space.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698