Revert of Mojo bindings environment: remove usage in gles2. (patchset #1 id:1 of https://codereview.chromium.org/1725123002/ )
Reason for revert:
This causes crashes: https://bugs.chromium.org/p/chromium/issues/detail?id=589964
The shell and the application belong to different modules, so they have different MessageLoop::current() / MessagePumpMojo::current() / etc. Although these values are in thread-local storage, we refer to them using global variables which are different in different modules.
Original issue's description:
> Mojo bindings environment: remove usage in gles2.
>
> BUG=585942
>
> Committed: https://crrev.com/67adb0d1a11573b9d0bd4fbe144f5e979327009d
> Cr-Commit-Position: refs/heads/master@{#377314}
TBR=sky@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=585942
Review URL: https://codereview.chromium.org/1732373003
Cr-Commit-Position: refs/heads/master@{#377822}
CrOS-Libchrome-Original-Commit: 3f372c3212400b0a26cb6a3d6d28fa1d6584e3f2
8 files changed