Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 57395df32f4a346d7152166a31a7fc60d0d89514..513eca397c31ba4f7a7d993a01f666e8c011f6fe 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -139,6 +139,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (command_line.HasSwitch(switches::kEnableExperimentalCanvasFeatures)) |
WebRuntimeFeatures::enableExperimentalCanvasFeatures(true); |
+ if (command_line.HasSwitch(switches::kEnableAcceleratedJpegDecoding)) |
+ WebRuntimeFeatures::enableDecodeToYUV(true); |
+ |
if (command_line.HasSwitch(switches::kDisableDisplayList2dCanvas)) { |
WebRuntimeFeatures::enableDisplayList2dCanvas(false); |
} else if (command_line.HasSwitch(switches::kEnableDisplayList2dCanvas)) { |