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

Unified Diff: content/renderer/pepper/pepper_video_encoder_host.cc

Issue 1949023005: gpu: Add flag for enabling asynchronous worker context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/renderer/pepper/pepper_video_encoder_host.cc
diff --git a/content/renderer/pepper/pepper_video_encoder_host.cc b/content/renderer/pepper/pepper_video_encoder_host.cc
index c33407fa08eaf5f1f8ac8d7c1b9d8d72589b3bce..617b7d282434b37ace026501f82386d751bb0eea 100644
--- a/content/renderer/pepper/pepper_video_encoder_host.cc
+++ b/content/renderer/pepper/pepper_video_encoder_host.cc
@@ -527,9 +527,8 @@ bool PepperVideoEncoderHost::EnsureGpuChannel() {
std::vector<int32_t> attribs(1, PP_GRAPHICS3DATTRIB_NONE);
command_buffer_ = channel->CreateCommandBuffer(
- gpu::kNullSurfaceHandle, gfx::Size(), nullptr,
- gpu::GpuChannelHost::kDefaultStreamId,
- gpu::GpuChannelHost::kDefaultStreamPriority, attribs, GURL::EmptyGURL(),
+ gpu::kNullSurfaceHandle, gfx::Size(), nullptr, gpu::GPU_STREAM_DEFAULT,
+ gpu::GpuStreamPriority::NORMAL, attribs, GURL::EmptyGURL(),
gfx::PreferIntegratedGpu);
if (!command_buffer_) {
Close();

Powered by Google App Engine
This is Rietveld 408576698