commit | 46cfb416b356c286fbed34315494fe260bf3283f | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <sergeyu@chromium.org> | Fri Jan 11 04:02:07 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 11 04:02:07 2019 |
tree | 99f9292f3ae43387ce5cb478e8e9b6a101d847c1 | |
parent | a0ebcc27455d7bc201a44b5cc65c3f8d7c97374b [diff] |
Handle GrContext::MakeVulkan() failures in VulkanInProcessContextProvider GrContext::MakeVulkan() may fail and return nullptr. VulkanInProcessContextProvider::Initialize() wasn't handling this case properly. Fixed it to return false in that case. Also updated RasterDecoderContextState to DCHECK that the vk_context_provider is properly initialize (i.e. gr_context != nullptr). Bug: 920000 Change-Id: If20df461d63b596210fb077c19919f7b3504e9cd Reviewed-on: https://chromium-review.googlesource.com/c/1404334 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#621899}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .