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

Unified Diff: bench/GrMipMapBench.cpp

Issue 2069173002: Lots of progress switching to SkColorSpace rather than SkColorProfileType (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix bad assert Created 4 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 | « no previous file | bench/nanobench.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GrMipMapBench.cpp
diff --git a/bench/GrMipMapBench.cpp b/bench/GrMipMapBench.cpp
index f4e05a0ac71b8e961c1126e81611b9f6ec62fd6e..096256c6ccf946b2f711b5c59190dd292c193346 100644
--- a/bench/GrMipMapBench.cpp
+++ b/bench/GrMipMapBench.cpp
@@ -37,7 +37,7 @@ protected:
return;
}
SkImageInfo info = SkImageInfo::Make(fW, fH, kN32_SkColorType, kPremul_SkAlphaType,
- kSRGB_SkColorProfileType);
+ SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named));
fSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info);
}
« no previous file with comments | « no previous file | bench/nanobench.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698