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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

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
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 62fd898b536c285e6f2bf50a366f671c8b6b6dd4..dc11dcb6d1cbf19aecfb5d01dfeaa8f98b7067e8 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -76,6 +76,10 @@ void WebRuntimeFeatures::enableColorCorrectRendering(bool enable) {
RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable);
}
+void WebRuntimeFeatures::enableColorCorrectRenderingDefaultMode(bool enable) {
+ RuntimeEnabledFeatures::setColorCorrectRenderingDefaultModeEnabled(enable);
+}
+
void WebRuntimeFeatures::enableTrueColorRendering(bool enable) {
RuntimeEnabledFeatures::setTrueColorRenderingEnabled(enable);
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698