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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1345453006: Merge to M46 for BUG=510252 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2490
Patch Set: Created 5 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 | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 577f2bc5dc9f6b78ada6e4f2adff9c4cc8e0336c..ae718ab0607a2fbbd9a71dbe3e11c84d900a6708 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1356,7 +1356,11 @@ RenderThreadImpl::GetGpuFactories() {
const bool enable_video_accelerator =
!cmd_line->HasSwitch(switches::kDisableAcceleratedVideoDecode);
const bool enable_gpu_memory_buffer_video_frames =
+#if defined(OS_MACOSX)
+ !cmd_line->HasSwitch(switches::kDisableGpuMemoryBufferVideoFrames);
+#else
cmd_line->HasSwitch(switches::kEnableGpuMemoryBufferVideoFrames);
+#endif
std::string image_texture_target_string =
cmd_line->GetSwitchValueASCII(switches::kVideoImageTextureTarget);
unsigned image_texture_target = 0;
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698