summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r--chrome/renderer/render_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 586471e..09caae4 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -2550,7 +2550,7 @@ WebMediaPlayer* RenderView::createMediaPlayer(
}
if (cmd_line->HasSwitch(switches::kEnableAcceleratedDecoding) &&
- !cmd_line->HasSwitch(switches::kDisableAcceleratedCompositing)) {
+ cmd_line->HasSwitch(switches::kEnableAcceleratedCompositing)) {
// Add the hardware video decoder factory.
// TODO(hclam): This assumes that ggl::Context is set to current
// internally. I need to make it more explicit to get the context.