gpu: Fix RasterDecoderContextState ContextState restoration tracking.
We currently make an implict assumption that the caller will restore the underlying context state in GetContextState, which seems like a brittle assumption. Make sure we only do it in RestoreState. R=piman@chromium.org Change-Id: If436feb21d80ece2181e1af291e078ef59e30736 Reviewed-on: https://chromium-review.googlesource.com/c/1327219 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
Jonathan Backer <backer@chromium.org> Cr-Commit-Position: refs/heads/master@{#607929}
Showing
Please register or sign in to comment