-
Avi Drissman authored
System-provided objects that implement MTLDevice should derive from NSObject. It would be silly if they didn't, given that the MTLDevice protocol inherits from the NSObject protocol. However, if for some reason this turns out to no longer be true in some future macOS, crash early so that it's obvious what's wrong. Bug: 1065146 Tbr: ccameron@chromium.org Change-Id: I9c59d57c9a4e18ad1b6860971bfb27a731eb9140 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2129031Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Mark Mentovai <mark@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#754941}
9eda1f82