Prevent creation of zero-sized proxies
authorRobert Phillips <robertphillips@google.com>
Wed, 26 Apr 2017 11:44:26 +0000 (07:44 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 26 Apr 2017 12:19:31 +0000 (12:19 +0000)
commit78de212909a72a3ad74d652b39c941236f7047ad
tree85d75f6f7e123a483f889a3b6c778d6d38c0280f
parent2b6be207a1b4595646950324ab1ccf0e3b9f73ac
Prevent creation of zero-sized proxies

This wasn't seen locally b.c. it is an assert and I only ran release locally and the CQ also only runs release.

I have added linux_trusty_blink_dbg as a try job.

TBR=bsalomon@google.com
Bug: 715392
Change-Id: I010626cb97e886d2fbfd767f948bc640f0534338
Reviewed-on: https://skia-review.googlesource.com/14361
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
src/gpu/GrResourceProvider.cpp
src/gpu/GrSurfaceProxy.cpp
tests/ProxyTest.cpp