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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

Issue 699083002: Add hw_video_decode_mac flag for Flash 15.0.0.223. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ppapi_plugin_process_host.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 22b69ba76d2348815d348878731f2f158cc3c95a..4f3491266220b18ae625c4a9b5ca5289bcb7b4e0 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -341,6 +341,10 @@ bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) {
if (!existing_args.empty())
existing_args.append(",");
existing_args.append("enable_hw_video_decode=1");
+#if defined(OS_MACOSX)
+ // TODO(ihf): Remove this once Flash newer than 15.0.0.223 is released.
+ existing_args.append(",enable_hw_video_decode_mac=1");
+#endif
}
cmd_line->AppendSwitchASCII(switches::kPpapiFlashArgs, existing_args);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698