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

Unified Diff: ui/gfx/icc_profile_unittest.cc

Issue 2679323005: Update callsites to new SkColorSpace API, delete legacy flag (Closed)
Patch Set: Formatting 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..ae04314447042b6c5f4aeb005aa786f41ac50c0a 100644
--- a/ui/gfx/icc_profile_unittest.cc
+++ b/ui/gfx/icc_profile_unittest.cc
@@ -21,8 +21,7 @@ TEST(ICCProfile, Conversions) {
TEST(ICCProfile, SRGB) {
ColorSpace color_space = ColorSpace::CreateSRGB();
- sk_sp<SkColorSpace> sk_color_space =
- SkColorSpace::MakeNamed(SkColorSpace::kSRGB_Named);
+ sk_sp<SkColorSpace> sk_color_space = SkColorSpace::MakeSRGB();
// 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