Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Context current before destroying a texture.
Make context current in ~AbstractTextureImplOnSharedContextPassthrough() before destroying the |texture_| since the destructor is not guaranteed to be called from the same context on which the |texture_| was created. Bug: 1054865 Change-Id: I1647d1ec8aede954031aae70692943c2f14920e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2068892 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by: Khushal <khushalsagar@chromium.org> Auto-Submit: vikas soni <vikassoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#743809}
- Loading branch information