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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp

Issue 2755583003: color: Remove flags for true color rendering (Closed)
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
index 2b793ebc4324a7c36a8ab2b678a4cae450a71ad1..766cadf234a13ec79e6d85bfec2216c8681af312 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
@@ -47,7 +47,7 @@ namespace blink {
namespace {
ColorBehavior defaultColorBehavior() {
- if (RuntimeEnabledFeatures::trueColorRenderingEnabled())
+ if (RuntimeEnabledFeatures::colorCorrectRenderingEnabled())
return ColorBehavior::tag();
return ColorBehavior::transformToGlobalTarget();
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698