Skip to content

Commit 41d623d

Browse files
committed
Remove bind_host_receiver_callback
1 parent 97b6b62 commit 41d623d

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

cobalt/browser/cobalt_content_browser_client.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ void CobaltContentBrowserClient::BindGpuHostReceiver(
357357
}
358358

359359
bool CobaltContentBrowserClient::WillCreateURLLoaderFactory(
360-
361360
content::BrowserContext* browser_context,
362361
content::RenderFrameHost* frame,
363362
int render_process_id,

media/mojo/services/gpu_mojo_media_client.cc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,7 @@ GpuMojoMediaClient::GetSupportedVideoDecoderConfigs() {
201201
} else if (config.profile_min >= AV1PROFILE_MIN &&
202202
config.profile_max <= AV1PROFILE_MAX) {
203203
has_accelerated_av1 = true;
204-
}
205-
else if ((config.profile_min >= HEVCPROFILE_MIN &&
204+
} else if ((config.profile_min >= HEVCPROFILE_MIN &&
206205
config.profile_max <= HEVCPROFILE_MAX) ||
207206
(config.profile_min >= HEVCPROFILE_EXT_MIN &&
208207
config.profile_max <= HEVCPROFILE_EXT_MAX)) {
@@ -299,9 +298,8 @@ std::unique_ptr<Renderer> GpuMojoMediaClient::CreateStarboardRenderer(
299298
config.audio_write_duration_remote, config.max_video_capabilities,
300299
config.use_external_allocator,
301300
std::move(renderer_extension_receiver),
302-
std::move(client_extension_remote),
303-
base::BindRepeating(&GetCommandBufferStub, gpu_task_runner_,
304-
media_gpu_channel_manager_));
301+
std::move(client_extension_remote), base::BindRepeating(
302+
&GetCommandBufferStub, gpu_task_runner_, media_gpu_channel_manager_));
305303
return CreatePlatformStarboardRenderer(std::move(traits));
306304
}
307305
#endif // BUILDFLAG(USE_STARBOARD_MEDIA)

0 commit comments

Comments
 (0)