Remove incorrect assert
authorBrian Osman <brianosman@google.com>
Thu, 20 Apr 2017 13:14:38 +0000 (09:14 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 20 Apr 2017 13:59:16 +0000 (13:59 +0000)
commit7b2391bc06a4cb5db83e3cd13402869fbe8b0bfd
tree2c7e4e3ba6fab9e32a3905b0b2860d94f6ec4fbe
parent2c65d5161260f3d45a63dcd92229bd09c8a12d53
Remove incorrect assert

We only need to verify that we've tested the PM conversion if we're about
to use GrConfigConversionEffect. For the else case, no such guarantee is
made, so the assert is wrong.

Bug: chromium:713462
Change-Id: I5ffcc0c5f7de4e9614e9ccd83140acc9ab4f7283
Reviewed-on: https://skia-review.googlesource.com/13962
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
src/gpu/GrContext.cpp