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

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

Issue 2530503003: Add --enable-true-color-rendering flag (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 c3e799ab3a70606db31b7f4cfa181c59c05e5eb6..97ecac1a41e3f562b5086696267049b4124e991f 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::enableTrueColorRendering(bool enable) {
+ RuntimeEnabledFeatures::setTrueColorRenderingEnabled(enable);
+}
+
void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) {
RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(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