Commit 6eff30f6 authored by Maggie Chen's avatar Maggie Chen Committed by Commit Bot

Remove a DCHECK when using Vulkan on Windows 10

This DCHECK in the default initialization path prevents Chrome from running
in Windows. Remove this DCHECK and use a error log instead when Vulkan is
enabled.

Bug: 1010584
Change-Id: I52dfab8ee07c2a555c155722e632f974cfbbdf59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842039Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
Commit-Queue: Maggie Chen <magchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703099}
parent 6131e73b
......@@ -105,7 +105,10 @@ SharedImageFactory::SharedImageFactory(
workarounds, gpu_feature_info, use_gl);
#else
// Others
DCHECK(!using_vulkan_);
if (using_vulkan_)
LOG(ERROR) << "ERROR: using_vulkan_ = true and interop_backing_factory_ is "
"not set";
#endif
if (enable_wrapped_sk_image && context_state) {
wrapped_sk_image_factory_ =
......
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