DescriptionRemove nullchecks for the provider's context.
If the provider is not null, it will have a context that is not null.
The provider is a WebGraphicsContext3DProviderImpl, which is given
a ContextProviderWebContext.
The ContextProviderWebContext is a ContextProviderCommandBuffer, the
factory for which returns a null provider if the underlying context
is null.
Further, the provider comes from RenderThreadImpl's
SharedMainThreadContextProvider(), which will return null if
the provider is null, or if the provider fails to initialize its
GL context.
R=junov@chromium.org, kbr@chromium.org
BUG=584497
Committed: https://crrev.com/0b5fbe3c7b257fde5861ad986ec77b2c9f6c23c1
Cr-Commit-Position: refs/heads/master@{#381765}
Patch Set 1 #
Messages
Total messages: 17 (7 generated)
|