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

Unified Diff: bench/nanobench.cpp

Issue 2071393002: More removal of SkColorProfileType... (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore API used in Chrome 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 | dm/DM.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 94402cc770488c7c5c34f7bf207d81ddda7b579a..cb28231adb367959a6fe164a54ffa9e812490b72 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -1025,8 +1025,6 @@ static void start_keepalive() {
intentionallyLeaked->start();
}
-extern bool gDefaultProfileIsSRGB;
-
int nanobench_main();
int nanobench_main() {
SetupCrashHandler();
@@ -1038,10 +1036,6 @@ int nanobench_main() {
gGrFactory.reset(new GrContextFactory(grContextOpts));
#endif
- if (FLAGS_forceSRGB) {
- gDefaultProfileIsSRGB = true;
- }
-
if (FLAGS_veryVerbose) {
FLAGS_verbose = true;
}
« no previous file with comments | « no previous file | dm/DM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698