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

Unified Diff: content/public/common/content_switches.cc

Issue 2522693002: Color correct ImageBitmap(HTMLImageElement*) constructor (Closed)
Patch Set: Addressing crash on memory sanitizer trybot Created 4 years 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 | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 0082c7877a29ba0469b7d3c8c8fe41979115d4ec..4a1424a967688b6903cd1b2e951ce13cbe93a742 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -351,6 +351,14 @@ const char kEnableBlinkFeatures[] = "enable-blink-features";
// PlzNavigate: Use the experimental browser-side navigation path.
const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
+// Changes the behavior of the "default" color space conversion mode in
+// createImageBitmap. When enabled without kEnableColorCorrectRendering or
+// kEnableTrueColorRendering flags, "default" means color correct the image
+// bitmap to the display color space.
+const char kEnableColorCorrectRenderingDefaultMode[] =
+ "enable-color-correct-rendering-default-mode";
+
+
// Enables display list based 2d canvas implementation. Options:
// 1. Enable: allow browser to use display list for 2d canvas (browser makes
// decision).
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698