Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always make context current in ViewManager's BitmapUploader, be laxer…
… in SurfaceResourceHolder When in the component build multiple threads (apps) will use the same view manager client lib and could fight over the current GL context, so always make our context current in BitmapUploader. When shutting down abrubtly (i.e. when losing a connection to an app), the client will not necessarily properly unref all resources it uses. DCHECKing here isn't helpful, so just skip over resources that are not fully unreffed. R=ben@chromium.org Review URL: https://codereview.chromium.org/569173007 Cr-Commit-Position: refs/heads/master@{#294943}
- Loading branch information