Commit d3d3e7cd authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Work more on getting things built with -Wimplicit-fallthrough.

This CL was uploaded by git cl split.

R=raymes@chromium.org

Bug: 177475
Change-Id: I8f6b7f32865c6a8c5f4db94bbd5c0a61296f7876
Reviewed-on: https://chromium-review.googlesource.com/889947Reviewed-by: default avatarRaymes Khoury <raymes@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532929}
parent 9218c33f
...@@ -197,10 +197,12 @@ ContentRendererPepperHostFactory::CreateResourceHost( ...@@ -197,10 +197,12 @@ ContentRendererPepperHostFactory::CreateResourceHost(
if (CanUseMediaStreamAPI(host_, instance)) if (CanUseMediaStreamAPI(host_, instance))
return std::make_unique<PepperVideoDestinationHost>(host_, instance, return std::make_unique<PepperVideoDestinationHost>(host_, instance,
resource); resource);
return nullptr;
case PpapiHostMsg_VideoSource_Create::ID: case PpapiHostMsg_VideoSource_Create::ID:
if (CanUseMediaStreamAPI(host_, instance)) if (CanUseMediaStreamAPI(host_, instance))
return std::make_unique<PepperVideoSourceHost>(host_, instance, return std::make_unique<PepperVideoSourceHost>(host_, instance,
resource); resource);
return nullptr;
#endif // BUILDFLAG(ENABLE_WEBRTC) #endif // BUILDFLAG(ENABLE_WEBRTC)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment