diff options
author | danakj <danakj@chromium.org> | 2016-03-17 12:02:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-17 19:03:53 +0000 |
commit | 0b5fbe3c7b257fde5861ad986ec77b2c9f6c23c1 (patch) | |
tree | a6337c78d5a7cb177d5b4c6eb55c5a127fe51841 /extensions | |
parent | 7812fb8ba8271fbc542fd5716498517b82ba821a (diff) | |
download | chromium_src-0b5fbe3c7b257fde5861ad986ec77b2c9f6c23c1.zip chromium_src-0b5fbe3c7b257fde5861ad986ec77b2c9f6c23c1.tar.gz chromium_src-0b5fbe3c7b257fde5861ad986ec77b2c9f6c23c1.tar.bz2 |
Remove 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
Review URL: https://codereview.chromium.org/1813603003
Cr-Commit-Position: refs/heads/master@{#381765}
Diffstat (limited to 'extensions')
0 files changed, 0 insertions, 0 deletions