Don't use GLStateRestorer with the passthrough command decoder.

The passthrough command decoder does not implement the state restoration
functions because it does not track state. When a GLStateRestorer
exists, it is used for the scoped binders in ui/gl/scoped_binders.h and
leads to incorrect state being applied.

BUG=88258

Change-Id: I18937597fc02562dfaf01d67a9d4a1b8b84290a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670949
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672107}
1 file changed