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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 609923003: Adding blink side flag that allows disabling YUV decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moved from WebSettings to WebRuntimeFeatures Created 6 years, 3 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 | « Source/platform/graphics/DecodingImageGenerator.cpp ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index a10025ec60617b5d5e410ead33467e63c1514278..609cfe71720341cd441746c90d64a55e39ce0dd3 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -75,6 +75,11 @@ void WebRuntimeFeatures::enableDatabase(bool enable)
RuntimeEnabledFeatures::setDatabaseEnabled(enable);
}
+void WebRuntimeFeatures::enableDecodeToYUV(bool enable)
+{
+ RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable);
+}
+
void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
{
RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
« no previous file with comments | « Source/platform/graphics/DecodingImageGenerator.cpp ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698