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

Unified Diff: trunk/src/content/public/renderer/video_encode_accelerator.cc

Issue 176923018: Revert 253259 "Move ContextProvider binding to inside GpuVideoAc..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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: trunk/src/content/public/renderer/video_encode_accelerator.cc
===================================================================
--- trunk/src/content/public/renderer/video_encode_accelerator.cc (revision 253325)
+++ trunk/src/content/public/renderer/video_encode_accelerator.cc (working copy)
@@ -5,7 +5,6 @@
#include "content/public/renderer/video_encode_accelerator.h"
#include "content/renderer/render_thread_impl.h"
-#include "media/filters/gpu_video_accelerator_factories.h"
namespace content {
@@ -13,8 +12,8 @@
CreateVideoEncodeAccelerator(media::VideoEncodeAccelerator::Client* client) {
scoped_ptr<media::VideoEncodeAccelerator> vea;
- scoped_refptr<media::GpuVideoAcceleratorFactories> gpu_factories =
- RenderThreadImpl::current()->GetGpuFactories();
+ scoped_refptr<RendererGpuVideoAcceleratorFactories> gpu_factories =
+ RenderThreadImpl::current()->GetGpuFactories();
if (gpu_factories.get())
vea = gpu_factories->CreateVideoEncodeAccelerator(client).Pass();
« no previous file with comments | « trunk/src/content/public/renderer/DEPS ('k') | trunk/src/content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698