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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

Issue 141753006: Enable Windows Flash hw video decode trial. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 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
Index: content/browser/ppapi_plugin_process_host.cc
===================================================================
--- content/browser/ppapi_plugin_process_host.cc (revision 244571)
+++ content/browser/ppapi_plugin_process_host.cc (working copy)
@@ -307,11 +307,11 @@
// TODO(vtl): Stop passing flash args in the command line, or windows is
// going to explode.
std::string field_trial =
- base::FieldTrialList::FindFullName(kLowLatencyFlashAudioFieldTrialName);
+ base::FieldTrialList::FindFullName(kFlashHwVideoDecodeFieldTrialName);
std::string existing_args =
browser_command_line.GetSwitchValueASCII(switches::kPpapiFlashArgs);
- if (field_trial == kLowLatencyFlashAudioFieldTrialEnabledName)
- existing_args.append(" enable_low_latency_audio=1");
+ if (field_trial == kFlashHwVideoDecodeFieldTrialEnabledName)
+ existing_args.append(" enable_hw_video_decode=1");
cmd_line->AppendSwitchASCII(switches::kPpapiFlashArgs, existing_args);
}

Powered by Google App Engine
This is Rietveld 408576698