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

Unified Diff: content/renderer/media/android/stream_texture_factory.cc

Issue 2584363002: gpu: Move ContextProviderCommandBuffer into mus gpu client-lib. (Closed)
Patch Set: tot merge Created 4 years 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/renderer/media/android/stream_texture_factory.cc
diff --git a/content/renderer/media/android/stream_texture_factory.cc b/content/renderer/media/android/stream_texture_factory.cc
index 8064b99a6c72209d582acc68445eaeaf27f6e2a8..57fff3df51e7e8d044e91bdb90cf83abdd0cb39f 100644
--- a/content/renderer/media/android/stream_texture_factory.cc
+++ b/content/renderer/media/android/stream_texture_factory.cc
@@ -7,11 +7,11 @@
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "cc/output/context_provider.h"
-#include "content/common/gpu/client/context_provider_command_buffer.h"
#include "gpu/command_buffer/client/gles2_interface.h"
#include "gpu/ipc/client/command_buffer_proxy_impl.h"
#include "gpu/ipc/client/gpu_channel_host.h"
#include "gpu/ipc/common/gpu_messages.h"
+#include "services/ui/public/cpp/gpu/context_provider_command_buffer.h"
#include "ui/gfx/geometry/size.h"
namespace content {
@@ -83,12 +83,12 @@ void StreamTextureProxy::ForwardStreamTextureForSurfaceRequest(
// static
scoped_refptr<StreamTextureFactory> StreamTextureFactory::Create(
- scoped_refptr<ContextProviderCommandBuffer> context_provider) {
+ scoped_refptr<ui::ContextProviderCommandBuffer> context_provider) {
return new StreamTextureFactory(std::move(context_provider));
}
StreamTextureFactory::StreamTextureFactory(
- scoped_refptr<ContextProviderCommandBuffer> context_provider)
+ scoped_refptr<ui::ContextProviderCommandBuffer> context_provider)
: context_provider_(std::move(context_provider)),
channel_(context_provider_->GetCommandBufferProxy()->channel()) {
DCHECK(channel_);

Powered by Google App Engine
This is Rietveld 408576698