Fixing TODOs of 1035589 in CanvasResourceProvider
There was two TODOs in CanvasResourceProvider of some checks that were leftovers of the previous. Both of them involved SharedBitmap resource provider. Both of them were a check that the Create method was doing. One of the tests is about checking we have a Dispatcher. That is needed as inside the constructor of the CanvasResourceProvider of SharedBitmap it has a DCHECK that it has a valid Dispatcher. However the other check about the max texture size of the WebGraphicsContext3dProviderWrapper is not needed, thus, I'm removing that in this CL and simplifying the API. Bug: 1035589 Change-Id: Id53f45c178b0ca5d8c143d411832731742e699e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2225330Reviewed-by:Yi Xu <yiyix@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Commit-Queue: Juanmi Huertas <juanmihd@chromium.org> Cr-Commit-Position: refs/heads/master@{#775147}
Showing
Please register or sign in to comment